Packages

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

Current section

Files

Jump to
ex_toon lib toon decode_error.ex
Raw

lib/toon/decode_error.ex

defmodule ExToon.DecodeError do
@moduledoc """
Raised or returned when `ExToon.decode/2` encounters malformed input.
"""
defexception [:line, :column, :reason, :message]
@type t :: %__MODULE__{
line: pos_integer() | nil,
column: pos_integer() | nil,
reason: atom(),
message: String.t()
}
end