Exception: RubyRabbitmqJanus::Errors::Rabbit::BasePublish

Inherits:
BaseErrorPublisher show all
Defined in:
lib/rrj/errors/rabbit/publish/publisher.rb

Overview

Define a super class for all errors in Rabbit::Publisher::Publish

Instance Method Summary collapse

Constructor Details

#initialize(message, level = :fatal) ⇒ BasePublish

Returns a new instance of BasePublish.



10
11
12
# File 'lib/rrj/errors/rabbit/publish/publisher.rb', line 10

def initialize(message, level = :fatal)
  super "[Publisher] #{message}", level
end