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


60
61
62
# File 'lib/march_hare/exceptions.rb', line 60

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

Instance Attribute Details

#usernameObject (readonly)

Returns the value of attribute username


58
59
60
# File 'lib/march_hare/exceptions.rb', line 58

def username
  @username
end

#vhostObject (readonly)

Returns the value of attribute vhost


58
59
60
# File 'lib/march_hare/exceptions.rb', line 58

def vhost
  @vhost
end