Exception: RubyRabbitmqJanus::Errors::RRJError
- Inherits:
-
StandardError
- Object
- StandardError
- RubyRabbitmqJanus::Errors::RRJError
- Defined in:
- lib/rrj/errors/error.rb
Overview
Define errors to gems
Direct Known Subclasses
ConfigFileNotFound, ConnectionRabbitmqFailed, JanusError, LevelNotDefine, RRJErrorHandle, RRJErrorInit, RRJErrorPost, RRJErrorTransaction, RequestFolerDoesntExist, RequestNotExecuted, RequestTemplateNotExist
Instance Method Summary collapse
-
#initialize(message, level) ⇒ RRJError
constructor
A new instance of RRJError.
Constructor Details
#initialize(message, level) ⇒ RRJError
Returns a new instance of RRJError.
9 10 11 12 |
# File 'lib/rrj/errors/error.rb', line 9 def initialize(, level) super() Tools::Log.instance_method(level).bind(Tools::Log.instance).call() end |