Packages

A native Elixir loader, validator, and evaluator for Decision Model and Notation 1.4 models.

Current section

Files

Jump to
boxic_dmn lib boxic dmn serialization_error.ex
Raw

lib/boxic/dmn/serialization_error.ex

defmodule Boxic.DMN.SerializationError do
@moduledoc "A structured error returned while encoding a normalized DMN model."
@enforce_keys [:code, :path, :message]
defstruct [:code, :path, :message, :details]
@type path_segment :: atom() | String.t() | non_neg_integer()
@type t :: %__MODULE__{
code: atom(),
path: [path_segment()],
message: String.t(),
details: term()
}
end