class ValidationError(JsonSchemaValueException): (source)
Report violations of a given JSON schema. This class extends :exc:`~fastjsonschema.JsonSchemaValueException` by adding the following properties: - ``summary``: an improved version of the ``JsonSchemaValueException`` error message with only the necessary information) - ``details``: more contextual information about the error like the failing schema itself and the value that violates the schema. Depending on the level of the verbosity of the ``logging`` configuration the exception message will be only ``summary`` (default) or a combination of ``summary`` and ``details`` (when the logging level is set to :obj:`logging.DEBUG`).
Class Variable | details |
Undocumented |
Class Variable | summary |
Undocumented |
Class Method | _from |
Undocumented |
Class Variable | _original |
Undocumented |
Inherited from JsonSchemaValueException
:
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 |