JSONSchex.Types.Error (jsonschex v0.2.1)

Copy Markdown View Source

A validation error with path, rule, and optional message/context.

Use JSONSchex.format_error/1 to produce a human-readable string.

Summary

Types

t()

@type t() :: %JSONSchex.Types.Error{
  context: map() | nil,
  message: String.t() | nil,
  path: list(),
  rule: atom(),
  value: term()
}