View Source Msgpax.UnpackError exception (Msgpax v2.4.0)

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

@type t() :: %Msgpax.UnpackError{
  __exception__: true,
  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.