Rebus.ProtocolLimitError exception (rebus v0.3.0)

View Source

Raised when encoding or decoding exceeds a wire-size limit set by the D-Bus specification—currently the array limit reported by Rebus.Message.max_array_size/0.

These limits are part of the wire protocol, so data that trips one can neither be sent to nor accepted from a conforming peer, however much memory is available. They are distinct from Rebus.ResourceLimitError, which guards local VM resources while handling otherwise wire-valid D-Bus data.

Summary

Types

The protocol wire-size limit that was exceeded.

t()

Types

limit()

@type limit() :: :array | :unknown

The protocol wire-size limit that was exceeded.

t()

@type t() :: %Rebus.ProtocolLimitError{
  __exception__: true,
  limit: limit(),
  message: String.t()
}