Skip to content

Errors

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

ConfigInvalidTomlError dataclass

Bases: BuilderError

Raised when the configuration file is not valid toml

ConfigNotFoundError dataclass

Bases: BuilderError

Raised when the builder configuration file does not exists

ConfigPermissionError dataclass

Bases: BuilderError

Raised when the builder configuration file does not exists

ConfigSectionError dataclass

Bases: BuilderError

Raised for config section missing

ExecutionError

Bases: Exception

Raised during process execution failures

InstTypeError dataclass

Bases: BuilderError

Raised when type in config not set

RegistryError dataclass

Bases: BuilderError

Raised for class registration issues

RegistryParamError dataclass

Bases: BuilderError

Raised for class instatioation with wrong params