Zpl.Error exception (zpl v0.3.0)

View Source

Native diagnostic with stage, message, and optional byte offset and parse kind.

Summary

Types

t()

@type t() :: %Zpl.Error{
  __exception__: true,
  kind: String.t() | nil,
  message: String.t(),
  offset: non_neg_integer() | nil,
  stage: :argument | :parse | :render | :output
}