Exception: MarchHare::AuthenticationFailureError
- Inherits:
-
PossibleAuthenticationFailureError
- Object
- StandardError
- Exception
- PossibleAuthenticationFailureError
- MarchHare::AuthenticationFailureError
- Defined in:
- lib/march_hare/exceptions.rb
Overview
Raised when RabbitMQ 3.2+ reports authentication failure before closing TCP connection.
Instance Attribute Summary collapse
-
#username ⇒ Object
readonly
Returns the value of attribute username.
-
#vhost ⇒ Object
readonly
Returns the value of attribute vhost.
Instance Method Summary collapse
-
#initialize(username, vhost, password_length) ⇒ AuthenticationFailureError
constructor
A new instance of AuthenticationFailureError.
Constructor Details
#initialize(username, vhost, password_length) ⇒ AuthenticationFailureError
Returns 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
#username ⇒ Object (readonly)
Returns the value of attribute username.
58 59 60 |
# File 'lib/march_hare/exceptions.rb', line 58 def username @username end |
#vhost ⇒ Object (readonly)
Returns the value of attribute vhost.
58 59 60 |
# File 'lib/march_hare/exceptions.rb', line 58 def vhost @vhost end |