Exception: EventMachine::Protocols::Couchbase::Error::Base

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/em-couchbase/error.rb

Instance Attribute Summary collapse

Instance Attribute Details

#casFixnum

Returns the version of the key (nil unless accessible).

Returns:

  • (Fixnum)

    the version of the key (nil unless accessible)



69
70
71
# File 'lib/em-couchbase/error.rb', line 69

def cas
  @cas
end

#errorFixnum

Returns the error code from libcouchbase.

Returns:

  • (Fixnum)

    the error code from libcouchbase



65
66
67
# File 'lib/em-couchbase/error.rb', line 65

def error
  @error
end

#keyString

Returns the key which generated error */.

Returns:

  • (String)

    the key which generated error */



67
68
69
# File 'lib/em-couchbase/error.rb', line 67

def key
  @key
end

#operationSymbol

Returns the operation (nil unless accessible).

Returns:

  • (Symbol)

    the operation (nil unless accessible)



71
72
73
# File 'lib/em-couchbase/error.rb', line 71

def operation
  @operation
end