Boxic.FEEL.Error (boxic_feel v0.1.0)

Copy Markdown View Source

Structured FEEL evaluation error.

Summary

Functions

Creates a structured FEEL error.

Types

t()

@type t() :: %Boxic.FEEL.Error{code: atom(), message: String.t()}

Functions

new(code, message)

@spec new(atom(), String.t()) :: t()

Creates a structured FEEL error.

Boxic.FEEL.Error.new(:type_error, "expected a number")