class Bunny::PossibleAuthenticationFailureError
Raised when RabbitMQ closes TCP connection before finishing connection sequence properly. This typically indicates an authentication issue.
Attributes
username[R]
API
vhost[R]
API
Public Class Methods
new(username, vhost, password_length)
click to toggle source
Calls superclass method
# File lib/bunny/exceptions.rb, line 119 def initialize(username, vhost, password_length) @username = username @vhost = vhost super("Authentication with RabbitMQ failed. Please check your connection settings. Username: #{username}, vhost: #{vhost}, password length: #{password_length}") end