Exceptions

Exceptions defined by Odin.

exception odin.exceptions.CodecDecodeError[source]

Exception raised by a codec during a decoding operation.

exception odin.exceptions.CodecEncodeError[source]

Exception raised by a codec during an encoding operation.

exception odin.exceptions.CodecError[source]

Exception raised by a codec during an operation.

exception odin.exceptions.MappingError[source]

Exceptions related to mapping, will typically be a more specific MappingSetupError or MappingExecutionError.

exception odin.exceptions.MappingExecutionError[source]

Exception raised during the execution of mapping rules.

exception odin.exceptions.MappingSetupError[source]

Exception raised during the setup of mapping rules.

exception odin.exceptions.ResourceException(message, code=None, params=None)[source]

Errors raised when generating resource from files.

Exception inherits from ValidationError for backwards compatibility.

exception odin.exceptions.ValidationError(message, code=None, params=None)[source]

An error while validating data.