Exceptions#
Custom exception hierarchy rooted at ThesisError.
Custom exceptions for the thesis framework.
This module defines exception classes for different types of errors that can occur during pipeline processing.
- exception thesis.core.exceptions.ThesisError[source]#
Bases:
ExceptionBase exception for all thesis framework errors.
- exception thesis.core.exceptions.ConfigurationError[source]#
Bases:
ThesisErrorRaised when configuration is invalid or missing.
Examples
Missing required configuration file
Invalid configuration values
Configuration validation failure
- exception thesis.core.exceptions.ProcessingError[source]#
Bases:
ThesisErrorRaised when processing operation fails.
Examples
Algorithm failure
Computation error
Unexpected processing result
- exception thesis.core.exceptions.ValidationError[source]#
Bases:
ThesisErrorRaised when input validation fails.
Examples
Invalid image dimensions
Missing required files
Invalid parameter values
- exception thesis.core.exceptions.RegistrationError[source]#
Bases:
ProcessingErrorRaised when image registration fails.
- exception thesis.core.exceptions.SegmentationError[source]#
Bases:
ProcessingErrorRaised when image segmentation fails.
- exception thesis.core.exceptions.TractographyError[source]#
Bases:
ProcessingErrorRaised when tractography processing fails.
- exception thesis.core.exceptions.PipelineError[source]#
Bases:
ProcessingErrorRaised when a pipeline step produces an invalid or unrecoverable result.
Examples
Warped ROI mask is entirely empty
Pipeline invariant violated during execution
- exception thesis.core.exceptions.FileIOError[source]#
Bases:
ThesisErrorRaised when I/O operation fails.
Examples
Unable to read file
Unable to write file
Corrupted data
- exception thesis.core.exceptions.DependencyError[source]#
Bases:
ThesisErrorRaised when external dependency is missing or incompatible.
Examples
FSL not installed
ANTs not found
Incompatible library version