Exception: Couchbase::Error::Base

Inherits:
RuntimeError
  • Object
show all
Defined in:
ext/couchbase_ext/couchbase_ext.c,
ext/couchbase_ext/couchbase_ext.c

Overview

The base error class

Direct Known Subclasses

Auth, BucketNotFound, Busy, Connect, DeltaBadval, Internal, Invalid, KeyExists, Libcouchbase, Libevent, Network, NoMemory, NotFound, NotMyVbucket, NotStored, NotSupported, Protocol, Range, TemporaryFail, Timeout, TooBig, UnknownCommand, UnknownHost, ValueFormat

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Fixnum) cas (readonly)

The version of the key (nil unless accessible)

Returns:

  • (Fixnum)

    the version of the key (nil unless accessible)

- (Boolean) error (readonly)

The error code from libcouchbase

Returns:

  • (Boolean)

    the error code from libcouchbase

- (String) key (readonly)

The key which generated error

Returns:

  • (String)

    the key which generated error

- (Symbol) operation (readonly)

The operation (nil unless accessible)

Returns:

  • (Symbol)

    the operation (nil unless accessible)