Exception: OMQ::LZ4::ProtocolError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/omq/lz4/errors.rb

Overview

Raised when the peer sends bytes that violate the lz4+tcp wire format: unknown sentinel, a dictionary shipment that exceeds the size cap, a second dictionary shipment on the same direction, a per-message size-budget overrun, or a decoder failure on a compressed part. The transport closes the connection on any protocol error — never silently drops the offending part.