Exceptions
exception DataValidationError(msg: str, path: str = None)
Exception raised if data validation detects a data type or a value restriction mismatch.
msg
The unformated error message.
path
The location within the data path/tree where the validation error occured.
exception SchemaDefinitionError(msg: str, path: str = None)
Exception raised if schema definition parsing detects a syntax error.
msg
The unformated error message.
path
The location within the schema (data path in schema definition) where the syntax error occured.