Exception: AMQP::Client::Error::UnexpectedFrameEnd

Inherits:
AMQP::Client::Error show all
Defined in:
lib/amqp/client/errors.rb

Overview

Raised when a frame doesn’t end with 206

Instance Method Summary collapse

Constructor Details

#initialize(actual) ⇒ UnexpectedFrameEnd

Returns a new instance of UnexpectedFrameEnd.



16
17
18
# File 'lib/amqp/client/errors.rb', line 16

def initialize(actual)
  super "Expected frame end 206 but got '#{actual}'"
end