You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a new exception handling system in PROCESS, process.exceptions which (currently) contains three error types:
ProcessError: the base PROCESS error.
ProcessValidationError: errors in validation of input.
ProcessValueError: ValueError's raised within PROCESS.
PROCESS needs to be upgraded to this system in two ways:
All of the level 3 errors in process/utilities/errorlist.json that are created from inside Python should become an appropriate exception, this may require adding additional exceptions to process.exceptions.
All exceptions currently raised in Python should raise a PROCESS-specific error. This allows us to isolate errors originating from PROCESS models and those from other packages. Similarly, any dependant of us will be able to distinguish PROCESS errors.
The text was updated successfully, but these errors were encountered:
There is a new exception handling system in PROCESS,
process.exceptions
which (currently) contains three error types:ProcessError
: the base PROCESS error.ProcessValidationError
: errors in validation of input.ProcessValueError
:ValueError
's raised within PROCESS.PROCESS needs to be upgraded to this system in two ways:
process/utilities/errorlist.json
that are created from inside Python should become an appropriate exception, this may require adding additional exceptions toprocess.exceptions
.The text was updated successfully, but these errors were encountered: