Rebus.ResourceLimitError exception (rebus v0.3.0)

View Source

Raised when encoding or decoding exceeds a local Rebus resource limit.

These limits protect the VM while handling otherwise wire-valid D-Bus data. They are distinct from malformed D-Bus grammar and from the protocol's own wire-size limits, which raise Rebus.ProtocolLimitError.

Summary

Types

The local resource cap that was exhausted.

t()

Types

limit()

@type limit() :: :structural | :scalar | :nesting | :unknown

The local resource cap that was exhausted.

t()

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