class

Crabbit::FrameTooLargeError

Inherits Crabbit::ProtocolError < Crabbit::Error < Exception < Reference < Object

Raised when an encoded frame exceeds the negotiated maximum size.

Constructors

new(size : UInt32, limit : UInt32)

Creates a frame-size error.

Source

Instance methods

limit

Returns the negotiated frame-size limit in bytes.

Source
size

Returns the attempted frame size in bytes.

Source