odys.domain.exceptions¶
Custom exception hierarchy. All exceptions inherit from OdysError.
OdysError: Base exception for the libraryOdysValidationError: Raised when input validation failsOdysSolverError: Raised when the solver fails or returns an unexpected statusOdysNoResultsError: Raised when accessing results that don't exist
Custom exceptions for the odys library.
OdysError
¶
Bases: Exception
Base exception for the odys library.
Source code in src/odys/domain/exceptions.py
4 5 | |
OdysNoResultsError
¶
Bases: OdysError
Raised when accessing results that don't exist.
Source code in src/odys/domain/exceptions.py
16 17 | |