Packages

Token-Oriented Object Notation (TOON) encoder/decoder for Elixir

Current section

Files

Jump to
ex_toon lib toon encode_error.ex
Raw

lib/toon/encode_error.ex

defmodule ExToon.EncodeError do
@moduledoc """
Raised by `ExToon.encode!/2` when the input cannot be normalized to the TOON data model.
"""
defexception [:reason, :message, :path]
@type t :: %__MODULE__{
reason: atom(),
message: String.t(),
path: [String.t() | non_neg_integer()]
}
end