SYNOPSIS
use JSON::Validator::Error;
my $err = JSON::Validator::Error->new($path, $message);
DESCRIPTION
JSON::Validator::Error is a class representing validation errors from JSON::Validator.ATTRIBUTES
message
$str = $self->message;
A human readable description of the error. Defaults to empty string.
path
$str = $self->path;
A JSON pointer to where the error occurred. Defaults to ``/''.
METHODS
new
$self = JSON::Validator::Error->new($path, $message);
Object constructor.