Exception: AMQ::Client::Logging::IncompatibleLoggerError
- Inherits:
-
StandardError
- Object
- StandardError
- AMQ::Client::Logging::IncompatibleLoggerError
- Defined in:
- lib/amq/client/exceptions.rb
Overview
Raised when logger object passed to Async::Adapter.logger= does not provide API it supposed to provide.
Instance Method Summary collapse
-
#initialize(required_methods) ⇒ IncompatibleLoggerError
constructor
A new instance of IncompatibleLoggerError.
Constructor Details
#initialize(required_methods) ⇒ IncompatibleLoggerError
Returns a new instance of IncompatibleLoggerError.
76 77 78 |
# File 'lib/amq/client/exceptions.rb', line 76 def initialize(required_methods) super("Logger has to respond to the following methods: #{required_methods.inspect}") end |