struct JSONSchema::ValidationError

Overview

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

Defined in:

validator.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(message, context) #

[View source]

Instance Method Detail

def context : NodeContext #

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


[View source]
def message : String #

Description of what error occurred.


[View source]