xfer.model_handler.exceptions

Exceptions for Model Handler.

Exceptions

ModelArchitectureError Exception type for errors caused when model architecture is incorrect or mismatched
ModelError Exception type for errors caused by invalid model actions.
exception xfer.model_handler.exceptions.ModelError

Bases: Exception

Exception type for errors caused by invalid model actions.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception xfer.model_handler.exceptions.ModelArchitectureError

Bases: Exception

Exception type for errors caused when model architecture is incorrect or mismatched

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.