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.
5 6 7 |
# File 'lib/couchbase/error.rb', line 5 def cas @cas end |
#error ⇒ Object
Returns the value of attribute error.
5 6 7 |
# File 'lib/couchbase/error.rb', line 5 def error @error end |
#inner_exception ⇒ Object
Returns the value of attribute inner_exception.
5 6 7 |
# File 'lib/couchbase/error.rb', line 5 def inner_exception @inner_exception end |
#key ⇒ Object
Returns the value of attribute key.
5 6 7 |
# File 'lib/couchbase/error.rb', line 5 def key @key end |
#operation ⇒ Object
Returns the value of attribute operation.
5 6 7 |
# File 'lib/couchbase/error.rb', line 5 def operation @operation end |
#status ⇒ Object
Returns the value of attribute status.
5 6 7 |
# File 'lib/couchbase/error.rb', line 5 def status @status end |
Instance Method Details
#to_s ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/couchbase/error.rb', line 7 def to_s if inner_exception inner_exception.to_s else super end end |