ErrAccessError occurs when you do not have access to the specified resource.
ErrAuthError occurs when there is an issue with authentication (bad password?).
ErrBadHosts occurs when an invalid list of hosts is specified for bootstrapping.
ErrBusy occurs when the server is too busy to handle your operation.
ErrCliInternalError indicates an internal error occurred within the client.
ErrDispatchFail occurs when we failed to execute an operation due to internal routing issues.
ErrDurabilityTimeout occurs when the server took too long to meet the specified durability requirements.
ErrFacetNoRanges occurs when a range-based facet is specified but no ranges were indicated.
ErrIndexAlreadyExists occurs when an operation expects an index not to exist, but it was found.
ErrIndexInvalidName occurs when an invalid name was specified for an index.
ErrIndexNoFields occurs when an index with no fields is created.
ErrIndexNotFound occurs when an operation expects an index but it was not found.
ErrInternalError occurs when an internal error has prevented an operation from succeeding.
ErrInvalidCert occurs when the specified certificate is not valid.
ErrInvalidCredentials is returned when an invalid set of credentials is provided for a service.
ErrInvalidReplica occurs when a specified replica index is invalid.
ErrInvalidServer occurs when a specified server index is invalid.
ErrInvalidVBucket occurs when a specified vbucket index is invalid.
ErrKeyExists occurs when the key already exists on the server.
ErrKeyNotFound occurs when the key is not found on the server.
ErrNetwork occurs when various generic network errors occur.
ErrNoOpenBuckets occurs when a cluster-level operation is performed before any buckets are opened.
ErrNoReplicas occurs when an operation expecting replicas is performed, but no replicas are available.
ErrNoResults occurs when no results are available to a query.
ErrNotEnoughReplicas occurs when not enough replicas exist to match the specified durability requirements.
ErrNotStored occurs when an item fails to be stored.
ErrNotSupported occurs when an operation is performed which is not supported.
ErrOutOfMemory occurs when the server has run out of memory to process requests.
ErrOverload occurs when more operations were dispatched than the client is capable of writing.
ErrProtocol occurs when an invalid protocol is specified for bootstrapping.
ErrRangeError occurs when an invalid range is specified.
ErrRollback occurs when a server rollback has occurred making the operation no longer valid.
ErrShutdown occurs when an operation is performed on a bucket that has been closed.
ErrStreamClosed occurs when an error is related to a stream closing.
ErrStreamDisconnected occurs when a stream is closed due to a connection dropping.
ErrStreamStateChanged occurs when an error is related to a cluster rebalance.
ErrStreamTooSlow occurs when a stream is closed due to being too slow at consuming data.
ErrSubDocBadCombo occurs when a multi-operation sub-document operation is performed and operations within the package of ops conflict with each other.
ErrSubDocBadDelta occurs when a sub-document counter operation is performed and the specified delta is not valid.
ErrSubDocBadMulti occurs when a multi-operation sub-document operation is performed and operations within the package of ops conflict with each other.
ErrSubDocBadRange occurs when a sub-document operation is performed with a bad range.
ErrSubDocCantInsert occurs when a sub-document operation could not insert.
ErrSubDocDocTooDeep occurs when an operation would cause a document to be nested beyond the depth limits allowed by the sub-document specification.
ErrSubDocMultiPathFailureDeleted occurs when a Multi Path Failure occurs on a soft-deleted document.
ErrSubDocNotJson occurs when a sub-document operation is performed on a document which is not JSON.
ErrSubDocPathExists occurs when a sub-document operation expects a path not to exists, but the path was found in the document.
ErrSubDocPathInvalid occurs when a sub-document path could not be parsed.
ErrSubDocPathMismatch occurs when a sub-document operation specifies a path which does not match the document structure (field access on an array).
ErrSubDocPathNotFound occurs when a sub-document operation targets a path which does not exist in the specifie document.
ErrSubDocPathTooBig occurs when a sub-document path is too big.
ErrSubDocSuccessDeleted occurs when a multi-operation sub-document operation is performed on a soft-deleted document.
ErrSubDocValueTooDeep occurs when a sub-document operation specifies a value which is deeper than the depth limits of the sub-document specification.
ErrSubDocXattrCannotModifyVAttr occurs when a mutation is attempted upon a virtual attribute (which are immutable by definition).
ErrSubDocXattrInvalidFlagCombo occurs when an invalid set of extended-attribute flags is passed to a sub-document operation.
ErrSubDocXattrInvalidKeyCombo occurs when an invalid set of key operations are specified for a extended-attribute sub-document operation.
ErrSubDocXattrUnknownMacro occurs when an invalid macro value is specified.
ErrSubDocXattrUnknownVAttr occurs when an invalid virtual attribute is specified.
ErrTimeout occurs when an operation times out.
ErrTmpFail occurs when the server is not immediately able to handle your request.
ErrTooBig occurs when the document is too big to be stored.