PaperForge.Declarative.Error exception (PaperForge v1.4.1)

Copy Markdown View Source

Structured error returned while parsing, validating, or compiling a template.

Summary

Types

t()

@type t() :: %PaperForge.Declarative.Error{
  __exception__: term(),
  code: atom(),
  column: pos_integer() | nil,
  details: term(),
  line: pos_integer() | nil,
  message: binary(),
  path: binary(),
  source: binary() | nil
}

Functions

new(code, path, message, details \\ nil)

@spec new(atom(), binary(), binary(), term()) :: t()

new(code, path, message, details, options)

@spec new(atom(), binary(), binary(), term(), keyword()) :: t()