Msgpax v2.1.0 Msgpax.UnpackError exception

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

Summary

Functions

Callback implementation for Exception.exception/1

Callback implementation for Exception.message/1

Types

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

Functions

exception(args)
exception(keyword) :: Exception.t

Callback implementation for Exception.exception/1.

message(exception)

Callback implementation for Exception.message/1.