Skip to content

exceptions

Task Exceptions

Exceptions relating to tasks

CheckException

Bases: EnsembleException

For check failures

Source code in model_ensembler/tasks/exceptions.py
class CheckException(EnsembleException):
    """For check failures"""
    pass

EnsembleException

Bases: Exception

Common ensemble exception for common implementation

Source code in model_ensembler/tasks/exceptions.py
7
8
9
class EnsembleException(Exception):
    """Common ensemble exception for common implementation"""
    pass

FailureNotToleratedError

Bases: RuntimeError

Check failure error cannot be tolerated

Source code in model_ensembler/tasks/exceptions.py
class FailureNotToleratedError(RuntimeError):
    """Check failure error cannot be tolerated"""
    pass

ProcessingException

Bases: EnsembleException

For general processing failures

Source code in model_ensembler/tasks/exceptions.py
class ProcessingException(EnsembleException):
    """For general processing failures"""
    pass

TaskException

Bases: EnsembleException

For task processing failures

Source code in model_ensembler/tasks/exceptions.py
class TaskException(EnsembleException):
    """For task processing failures"""
    pass