Class: Rex::Proto::Amqp::Error::NegotiationError

Inherits:
AmqpError
  • Object
show all
Defined in:
lib/rex/proto/amqp/error.rb

Overview

Raised when the connection can not be negotiated for some reason.

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'AMQP Connection negotiation failed.') ⇒ NegotiationError

Returns a new instance of NegotiationError.



24
25
26
# File 'lib/rex/proto/amqp/error.rb', line 24

def initialize(msg='AMQP Connection negotiation failed.')
  super(msg)
end