Base exception for Couchbase errors
This is the base class for all exceptions thrown by Couchbase
The return code which caused the error
A MultiResult object, if this exception was thrown as part of a multi-operation. This contains all the operations (including ones which may not have failed)
If this exception was triggered by another exception, it is present here.
If applicable, this is the key which failed.
A tuple of (file, line) pointing to a location in the C source code where the exception was thrown (if applicable)
A given argument is invalid or must be set
Failed to decode or encode value
The following exceptions are caused by the underlying connection.
You provided an invalid username/password combination.
The given value is not a number
The server detected that operation cannot be executed with requested arguments. For example, when incrementing not a number.
Object too big
The server reported that this object is too big
The cluster is too busy
The server is too busy to handle your request right now. please back off and try again at a later time.
Internal error inside the library. You would have to destroy the instance and create a new one to recover.
Invalid arguments specified
The server ran out of memory
An invalid range specified
A generic error
Temporary failure (on server)
The server tried to perform the requested operation, but failed due to a temporary constraint. Retrying the operation may work.
This error may also be delivered if the key being accessed was locked.
The key already exists (with another CAS value)
This exception may be thrown during an add() operation (if the key already exists), or when a CAS is supplied and the server-side CAS differs.
The key does not exist
Failed to open shared object
Failed to locate the requested symbol in the shared object
A network related problem occured (name lookup, read/write/connect etc)
The vbucket is not located on this server
The server who received the request is not responsible for the object anymore. (This happens during changes in the cluster topology)
The object was not stored on the server
The server doesn’t support the requested command. This error differs from couchbase.exceptions.UnknownCommandError by that the server knows about the command, but for some reason decided to not support it.
The server doesn’t know what that command is
The server failed to resolve the requested hostname
There is something wrong with the datastream received from the server
The operation timed out
Failed to connect to the requested server
The requested bucket does not exist
The client ran out of memory
Temporary failure (on client)
The client encountered a temporary error (retry might resolve the problem)
Invalid handle type
The requested operation isn’t allowed for given type.