class RabbitmqClient::MessagePublisher::ConfirmationFailed
Custom error is thrown when rabbitmq do not confirm publishing an event
Public Class Methods
new(exchange, nacked, unconfirmed)
click to toggle source
Calls superclass method
# File lib/rabbitmq_client/message_publisher.rb, line 8 def initialize(exchange, nacked, unconfirmed) msg = 'Message confirmation on the exchange ' \ "#{exchange} has failed (#{nacked}/#{unconfirmed})." super(msg) end