Exception: CouchdbException
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- CouchdbException
- Defined in:
- lib/leanback.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error) ⇒ CouchdbException
constructor
A new instance of CouchdbException.
Constructor Details
#initialize(error) ⇒ CouchdbException
Returns a new instance of CouchdbException.
7 8 9 |
# File 'lib/leanback.rb', line 7 def initialize(error) @error = error.values[0] end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
6 7 8 |
# File 'lib/leanback.rb', line 6 def error @error end |