ExJsonschema.ValidationError (ExJsonschema v0.1.0)

View Source

Represents a JSON Schema validation error with detailed path and message information.

Summary

Functions

Creates a ValidationError from a map returned by the NIF.

Types

t()

@type t() :: %ExJsonschema.ValidationError{
  instance_path: String.t(),
  message: String.t(),
  schema_path: String.t()
}

Functions

from_map(map)

@spec from_map(map()) :: t()

Creates a ValidationError from a map returned by the NIF.