Source code for fusion.modules.failures.errors

"""
Custom exceptions for the failures module.
"""


[docs] class FailureError(Exception): """Base exception for failure-related errors.""" pass
[docs] class FailureConfigError(FailureError): """Raised when failure configuration is invalid.""" pass
[docs] class FailureNotFoundError(FailureError): """Raised when a requested failure cannot be found.""" pass
[docs] class InvalidFailureTypeError(FailureError): """Raised when an unknown failure type is requested.""" pass