Exceptions
siapy.core.exceptions
¶
SiapyError
¶
Bases: Exception
Base exception for SiaPy library.
Source code in siapy/core/exceptions.py
19 20 21 22 |
|
InvalidFilepathError
¶
Bases: SiapyError
Exception raised when a required file is not found.
Source code in siapy/core/exceptions.py
28 29 30 |
|
InvalidInputError
¶
Bases: SiapyError
Exception raised for invalid input.
Source code in siapy/core/exceptions.py
36 37 38 39 |
|
InvalidTypeError
¶
InvalidTypeError(
input_value: Any,
allowed_types: type | tuple[type, ...],
message: str = "Invalid type",
)
Bases: SiapyError
Exception raised for invalid type.
Source code in siapy/core/exceptions.py
45 46 47 48 49 50 51 52 53 54 55 |
|
ProcessingError
¶
ProcessingError(
message: str = "An error occurred during processing",
)
Bases: SiapyError
Exception raised for errors during processing.
Source code in siapy/core/exceptions.py
61 62 63 |
|
ConfigurationError
¶
ConfigurationError(message: str = 'Configuration error')
Bases: SiapyError
Exception raised for configuration errors.
Source code in siapy/core/exceptions.py
69 70 71 |
|
MethodNotImplementedError
¶
Bases: SiapyError
Exception raised for not implemented methods.
Source code in siapy/core/exceptions.py
77 78 79 80 |
|
DirectInitializationError
¶
DirectInitializationError(class_: type)
Bases: SiapyError
Exception raised when a class method is required to create an instance.
Source code in siapy/core/exceptions.py
86 87 88 89 90 91 92 93 |
|