ToonEx.Btoon.DecodeError exception (toon_ex v1.3.1)

Copy Markdown View Source

Exception raised when BTOON decoding fails.

Raised when the input is malformed: bad magic, unsupported version, truncated data, invalid type tags, out-of-range string refs, alignment or nesting-limit violations.

Summary

Types

t()

@type t() :: %ToonEx.Btoon.DecodeError{
  __exception__: term(),
  input: binary() | nil,
  message: String.t(),
  offset: non_neg_integer() | nil,
  reason: term()
}