pydent.marshaller.exceptions¶
Marshalling exceptions.
Exceptions
A field validation error for getting or setting None values. |
|
A generic callback validation error. |
|
|
Context dependent exception for capturing multiple exceptions. |
A generic field validation error. |
|
Model not found in registry exception. |
|
A model validation error. |
|
|
Model validation exception. |
Error that occurs during executing a field callback. |
|
A generic schema exception. |
|
A generic model exception. |
|
Generic schema registry exception. |
-
exception
pydent.marshaller.exceptions.AllowNoneFieldValidationError[source]¶ Bases:
pydent.marshaller.exceptions.FieldValidationErrorA field validation error for getting or setting None values.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.marshaller.exceptions.CallbackValidationError[source]¶ Bases:
pydent.marshaller.exceptions.MarshallerBaseExceptionA generic callback validation error.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.marshaller.exceptions.ExceptionCollection(*args, header='')[source]¶ Bases:
pydent.marshaller.exceptions.MarshallerBaseExceptionContext dependent exception for capturing multiple exceptions.
Call r to gather exceptions, upon exiting, a single ExceptionCollection will be raised with a summary of all the internal exceptions.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.marshaller.exceptions.FieldValidationError[source]¶ Bases:
pydent.marshaller.exceptions.MarshallerBaseExceptionA generic field validation error.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.marshaller.exceptions.MarshallerBaseException[source]¶ Bases:
Exception-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.marshaller.exceptions.ModelRegistryError[source]¶ Bases:
pydent.marshaller.exceptions.MarshallerBaseExceptionModel not found in registry exception.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.marshaller.exceptions.ModelValidationError[source]¶ Bases:
pydent.marshaller.exceptions.MarshallerBaseExceptionA model validation error.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.marshaller.exceptions.MultipleValidationError(*args, header='')[source]¶ Bases:
pydent.marshaller.exceptions.ModelValidationError,pydent.marshaller.exceptions.ExceptionCollectionModel validation exception.
-
raise_exception_class(exception_class)¶ Raise an exception class, if it was collected.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.marshaller.exceptions.RunTimeCallbackAttributeError[source]¶ Bases:
AttributeErrorError that occurs during executing a field callback.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.marshaller.exceptions.SchemaException[source]¶ Bases:
pydent.marshaller.exceptions.MarshallerBaseExceptionA generic schema exception.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.marshaller.exceptions.SchemaModelException[source]¶ Bases:
pydent.marshaller.exceptions.MarshallerBaseExceptionA generic model exception.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
pydent.marshaller.exceptions.SchemaRegistryError[source]¶ Bases:
pydent.marshaller.exceptions.MarshallerBaseExceptionGeneric schema registry exception.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-