errors.py
Error handling for tensor image pipeline.
This module implements error handling for configuration, registry and execution of the pipeline.
Copyright (C) 2025 Matti Kaupenjohann
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
BuilderError
dataclass
¶
Bases: RuntimeError
Source code in tipi/errors.py
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | |
ConfigInvalidTomlError
dataclass
¶
Bases: BuilderError
Raised when the configuration file is not valid toml
Source code in tipi/errors.py
79 80 81 82 83 | |
ConfigNotFoundError
dataclass
¶
Bases: BuilderError
Raised when the builder configuration file does not exists
Source code in tipi/errors.py
65 66 67 68 69 | |
ConfigPermissionError
dataclass
¶
Bases: BuilderError
Raised when the builder configuration file does not exists
Source code in tipi/errors.py
72 73 74 75 76 | |
ConfigSectionError
dataclass
¶
Bases: BuilderError
Raised for config section missing
Source code in tipi/errors.py
86 87 88 89 90 | |
ExecutionError
¶
Bases: Exception
Raised during process execution failures
Source code in tipi/errors.py
123 124 125 126 127 128 | |
InstTypeError
dataclass
¶
Bases: BuilderError
Raised when type in config not set
Source code in tipi/errors.py
115 116 117 118 119 | |
RegistryError
dataclass
¶
Bases: BuilderError
Raised for class registration issues
Source code in tipi/errors.py
101 102 103 104 105 | |
RegistryParamError
dataclass
¶
Bases: BuilderError
Raised for class instatioation with wrong params
Source code in tipi/errors.py
108 109 110 111 112 | |