Victoria.ITF.Error exception (Victoria v0.1.0)

Copy Markdown View Source

A structured ITF read, decode, or validation error.

Errors are returned by the loader and should be treated as read-only.

Summary

Types

t()

An ITF error with source and nested value-path context.

Types

t()

@type t() :: %Victoria.ITF.Error{
  __exception__: term(),
  action: String.t() | nil,
  kind: :read | :decode | :shape,
  path: [String.t() | non_neg_integer()],
  reason: term(),
  source: Path.t(),
  state_index: non_neg_integer() | nil
}

An ITF error with source and nested value-path context.