struct JSONSchema::ValidationError
- JSONSchema::ValidationError
- Struct
- Value
- Object
Overview
Captures an error message and the corresponding path to the value where the error occurred.
Defined in:
validator.crConstructors
Instance Method Summary
-
#context : NodeContext
Provides a reference to where this error occurred in the input JSON.
-
#message : String
Description of what error occurred.
Constructor Detail
Instance Method Detail
def context : NodeContext
#
Provides a reference to where this error occurred in the input JSON. See JSONSchema::NodeContext
for more information.