Victoria.Trace.Error exception (Victoria v0.2.0)

Copy Markdown View Source

A structured Victoria trace-adaptation error.

Generic file, JSON, and ITF errors are returned as ITF.Error values.

Summary

Types

t()

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