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

- (AuthenticationFailureError) initialize(username, vhost, password_length)

A new instance of 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

- (Object) username (readonly)

Returns the value of attribute username



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

def username
  @username
end

- (Object) vhost (readonly)

Returns the value of attribute vhost



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

def vhost
  @vhost
end