exception documentation

Exception raised by validation function. Available properties: * ``message`` containing human-readable information what is wrong (e.g. ``data.property[index] must be smaller than or equal to 42``), * invalid ``value`` (e.g. ``60``), * ``name`` of a path in the data structure (e.g. ``data.property[index]``), * ``path`` as an array in the data structure (e.g. ``['data', 'property', 'index']``), * the whole ``definition`` which the ``value`` has to fulfil (e.g. ``{'type': 'number', 'maximum': 42}``), * ``rule`` which the ``value`` is breaking (e.g. ``maximum``) * and ``rule_definition`` (e.g. ``42``). .. versionchanged:: 2.14.0 Added all extra properties.

Method __init__ Undocumented
Instance Variable definition Undocumented
Instance Variable message Undocumented
Instance Variable name Undocumented
Instance Variable rule Undocumented
Instance Variable value Undocumented
Property path Undocumented
Property rule_definition Undocumented
def __init__(self, message, value=None, name=None, definition=None, rule=None): (source)

Undocumented

definition = (source)

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

@property
rule_definition = (source)

Undocumented