struct

JSONSchema::ValidationError

Inherits Struct / Value / Object

Captures an error message and the corresponding path to the value where the error occurred.

Constructors

new(message : String, context : JSONSchema::NodeContext)
Source

Instance methods

context

Provides a reference to where this error occurred in the input JSON. See JSONSchema::NodeContext for more information.

Source
message

Description of what error occurred.

Source