Exception: Mqlight::InternalError
- Inherits:
-
StandardError
- Object
- StandardError
- Mqlight::InternalError
- Defined in:
- lib/mqlight/exceptions.rb
Overview
The operation failed due to an internal condition.
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
Instance Method Summary collapse
-
#initialize(cause) ⇒ InternalError
constructor
A new instance of InternalError.
Constructor Details
#initialize(cause) ⇒ InternalError
Returns a new instance of InternalError.
68 69 70 71 72 73 74 75 |
# File 'lib/mqlight/exceptions.rb', line 68 def initialize(cause) if cause.is_a? String super(cause) else super(cause.) end @cause = cause end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
66 67 68 |
# File 'lib/mqlight/exceptions.rb', line 66 def cause @cause end |