Jexata.Error exception (jexata v1.0.0)

Copy Markdown View Source

A structured compilation or evaluation error.

Summary

Types

t()

@type t() :: %Jexata.Error{
  __exception__: term(),
  code: String.t(),
  message: String.t(),
  position: non_neg_integer() | nil
}

Functions

new(code, message, position \\ nil)

@spec new(String.t(), String.t(), non_neg_integer() | nil) :: t()