class documentation

class DeserializationError(Exception):

View In Hierarchy

Something bad happened during deserialization.
Class Method ​With​Data Factory method for creating a deserialization error which has a more explanatory message.
@classmethod
def WithData(cls, original_exc, model, fk, field_value):
Factory method for creating a deserialization error which has a more explanatory message.