Repository navigation
[ERROR MODULE] error handling in model, satellite and collocation module - #106
Open
lenny-frno wants to merge 7 commits into
Open
lenny-frno wants to merge 7 commits into
lenny-frno wants to merge 7 commits into
Conversation
lenny-frno
marked this pull request as ready for review
August 13, 2026 12:49
added 7 commits
August 26, 2026 10:59
…one aspect of wavy to filter specifically the errors from one module.
…ow raises a wavy error when the model files are not found.
…tFoundError, ModelPathTemplateError, ModelProcessingError, ModelReadError
…one aspect of wavy to filter specifically the errors from one module.
…ow raises a wavy error when the model files are not found.
lenny-frno
force-pushed
the
lenny.hucher/centralised_error_module
branch
from
August 26, 2026 09:02
097fa40 to
bc39887
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Before the code contained many try : except Exception as e blocks which swallow errors without distinguishing them. This does not help with debugging.
Changes
Created a proper error module with a wavy error class and subtypes of errors per modules. I made the integration for the 3 most affected modules, model, satellite and collocation.
Now the user can decide to do
Except WavyError as e:to filter Wavy specific errors or evenExcept SatelliteError as e:for the errors related to the satellite classTest Instructions