Fostrom.Exception exception (Fostrom v0.0.6)

A Fostrom.Exception contains a reason and a message. It also contains reconnecting_in (in milliseconds) when the reconnecting or unauthorized callbacks are called.

Summary

Types

t()

@type t() :: %Fostrom.Exception{
  __exception__: true,
  message: binary(),
  reason: binary(),
  reconnecting_in: nil | non_neg_integer()
}