class JsonSchemaValueException(JsonSchemaException): (source)
Known subclasses: setuptools.config._validate_pyproject.ValidationError
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 |
Undocumented |