Exception: Keen::Error
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Keen::Error
- Defined in:
- lib/keen.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#original_error ⇒ Object
Returns the value of attribute original_error.
Instance Method Summary collapse
-
#initialize(message, _original_error = nil) ⇒ Error
constructor
A new instance of Error.
- #to_s ⇒ Object
Constructor Details
#initialize(message, _original_error = nil) ⇒ Error
Returns a new instance of Error.
10 11 12 13 |
# File 'lib/keen.rb', line 10 def initialize(, _original_error=nil) self.original_error = _original_error super() end |
Instance Attribute Details
#original_error ⇒ Object
Returns the value of attribute original_error.
9 10 11 |
# File 'lib/keen.rb', line 9 def original_error @original_error end |
Instance Method Details
#to_s ⇒ Object
15 16 17 |
# File 'lib/keen.rb', line 15 def to_s "Keen IO Exception: #{super}" end |