Exception: Couchbase::Error::Base
- Inherits:
-
Exception
- Object
- Exception
- Couchbase::Error::Base
- Defined in:
- lib/couchbase/error.rb
Direct Known Subclasses
Auth, Connect, HTTP, Invalid, KeyExists, NotFound, NotStored, TemporaryFail, ValueFormat, View
Instance Attribute Summary collapse
-
#cas ⇒ Object
Returns the value of attribute cas.
-
#error ⇒ Object
Returns the value of attribute error.
-
#inner_exception ⇒ Object
Returns the value of attribute inner_exception.
-
#key ⇒ Object
Returns the value of attribute key.
-
#operation ⇒ Object
Returns the value of attribute operation.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
Instance Attribute Details
#cas ⇒ Object
Returns the value of attribute cas.
21 22 23 |
# File 'lib/couchbase/error.rb', line 21 def cas @cas end |
#error ⇒ Object
Returns the value of attribute error.
21 22 23 |
# File 'lib/couchbase/error.rb', line 21 def error @error end |
#inner_exception ⇒ Object
Returns the value of attribute inner_exception.
21 22 23 |
# File 'lib/couchbase/error.rb', line 21 def inner_exception @inner_exception end |
#key ⇒ Object
Returns the value of attribute key.
21 22 23 |
# File 'lib/couchbase/error.rb', line 21 def key @key end |
#operation ⇒ Object
Returns the value of attribute operation.
21 22 23 |
# File 'lib/couchbase/error.rb', line 21 def operation @operation end |
#status ⇒ Object
Returns the value of attribute status.
21 22 23 |
# File 'lib/couchbase/error.rb', line 21 def status @status end |
Instance Method Details
#to_s ⇒ Object
23 24 25 26 27 28 29 |
# File 'lib/couchbase/error.rb', line 23 def to_s if inner_exception inner_exception.to_s else super end end |