Msgpax v2.2.2 Msgpax.UnpackError exception View Source

Raised when there’s an error in de-serializing some data into an Elixir term.

Link to this section Summary

Functions

Callback implementation for Exception.exception/1

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()}
}

Link to this section Functions

Callback implementation for Exception.exception/1.

Callback implementation for Exception.message/1.