Msgpax v2.3.0 Msgpax.UnpackError exception View Source

Raised when there's an error in deserializing some data into an Elixir term.

Link to this section Summary

Functions

Callback implementation for Exception.message/1.

Link to this section Types

Link to this type

t() View Source
t() :: %Msgpax.UnpackError{
  __exception__: term(),
  reason:
    {:excess_bytes, binary()}
    | {:invalid_format, integer()}
    | :incomplete
    | {:ext_unpack_failure, module(), Msgpax.Ext.t()}
    | {:nonfinite_float, atom()}
}

Link to this section Functions

Callback implementation for Exception.message/1.