Exception: Couchbase::Error::Base

Inherits:
Exception
  • Object
show all
Defined in:
lib/couchbase/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#casObject

Returns the value of attribute cas.



5
6
7
# File 'lib/couchbase/error.rb', line 5

def cas
  @cas
end

#errorObject

Returns the value of attribute error.



5
6
7
# File 'lib/couchbase/error.rb', line 5

def error
  @error
end

#inner_exceptionObject

Returns the value of attribute inner_exception.



5
6
7
# File 'lib/couchbase/error.rb', line 5

def inner_exception
  @inner_exception
end

#keyObject

Returns the value of attribute key.



5
6
7
# File 'lib/couchbase/error.rb', line 5

def key
  @key
end

#operationObject

Returns the value of attribute operation.



5
6
7
# File 'lib/couchbase/error.rb', line 5

def operation
  @operation
end

#statusObject

Returns the value of attribute status.



5
6
7
# File 'lib/couchbase/error.rb', line 5

def status
  @status
end

Instance Method Details

#to_sObject



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