Exception: EventMachine::Protocols::Couchbase::Error::Base
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- EventMachine::Protocols::Couchbase::Error::Base
- Defined in:
- lib/em-couchbase/error.rb
Direct Known Subclasses
Auth, BucketNotFound, Busy, Connect, DeltaBadval, Internal, Invalid, KeyExists, Network, NoMemory, NotFound, NotMyVbucket, NotStored, NotSupported, Protocol, Range, TemporaryFail, Timeout, TooBig, UnknownCommand, UnknownHost, ValueFormat
Instance Attribute Summary collapse
-
#cas ⇒ Fixnum
The version of the key (
nil
unless accessible). -
#error ⇒ Fixnum
The error code from libcouchbase.
-
#key ⇒ String
The key which generated error */.
-
#operation ⇒ Symbol
The operation (
nil
unless accessible).
Instance Attribute Details
#cas ⇒ Fixnum
Returns the version of the key (nil
unless accessible).
69 70 71 |
# File 'lib/em-couchbase/error.rb', line 69 def cas @cas end |
#error ⇒ Fixnum
Returns the error code from libcouchbase.
65 66 67 |
# File 'lib/em-couchbase/error.rb', line 65 def error @error end |
#key ⇒ String
Returns the key which generated error */.
67 68 69 |
# File 'lib/em-couchbase/error.rb', line 67 def key @key end |
#operation ⇒ Symbol
Returns the operation (nil
unless accessible).
71 72 73 |
# File 'lib/em-couchbase/error.rb', line 71 def operation @operation end |