Exception: GorgonBunny::AuthenticationFailureError
- Inherits:
-
PossibleAuthenticationFailureError
- Object
- StandardError
- Exception
- PossibleAuthenticationFailureError
- GorgonBunny::AuthenticationFailureError
- Defined in:
- lib/gorgon_bunny/lib/gorgon_bunny/exceptions.rb
Overview
Raised when RabbitMQ closes TCP connection due to an authentication failure. Relies on RabbitMQ 3.2 Authentication Failure Notifications extension: www.rabbitmq.com/auth-notification.html
Instance Attribute Summary collapse
-
#username ⇒ Object
readonly
API.
-
#vhost ⇒ Object
readonly
API.
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.
106 107 108 109 110 111 |
# File 'lib/gorgon_bunny/lib/gorgon_bunny/exceptions.rb', line 106 def initialize(username, vhost, password_length) @username = username @vhost = vhost super(username, vhost, password_length) end |
Instance Attribute Details
#username ⇒ Object (readonly)
API
104 105 106 |
# File 'lib/gorgon_bunny/lib/gorgon_bunny/exceptions.rb', line 104 def username @username end |
#vhost ⇒ Object (readonly)
API
104 105 106 |
# File 'lib/gorgon_bunny/lib/gorgon_bunny/exceptions.rb', line 104 def vhost @vhost end |