Exception: MarchHare::AuthenticationFailureError

Inherits:
PossibleAuthenticationFailureError show all
Defined in:
lib/march_hare/exceptions.rb

Overview

Raised when RabbitMQ 3.2+ reports authentication failure before closing TCP connection.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(username, vhost, password_length) ⇒ AuthenticationFailureError

Returns a new instance of AuthenticationFailureError.



66
67
68
# File 'lib/march_hare/exceptions.rb', line 66

def initialize(username, vhost, password_length)
  super(username, vhost, password_length)
end

Instance Attribute Details

#usernameObject (readonly)

Returns the value of attribute username.



64
65
66
# File 'lib/march_hare/exceptions.rb', line 64

def username
  @username
end

#vhostObject (readonly)

Returns the value of attribute vhost.



64
65
66
# File 'lib/march_hare/exceptions.rb', line 64

def vhost
  @vhost
end