Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EEmpty = DBerror{"Parameter was empty or nil", eEMPTY} ELength = DBerror{"Parameter is too long", eLENGTH} ENoVNode = DBerror{"This node does not contain keys in this partition", eNO_VNODE} EStorage = DBerror{"The storage driver experienced an error", eSTORAGE} ECorrupted = DBerror{"The storage medium is corrupted", eCORRUPTED} EInvalidKey = DBerror{"A key was misformatted", eINVALID_KEY} EInvalidBucket = DBerror{"An invalid bucket was specified", eINVALID_BUCKET} EInvalidBatch = DBerror{"An invalid batch was specified", eINVALID_BATCH} EMerkleRange = DBerror{"An invalid merkle node was requested", eMERKLE_RANGE} EInvalidOp = DBerror{"An invalid operation was specified", eINVALID_OP} EInvalidContext = DBerror{"An invalid context was provided in an update", eINVALID_CONTEXT} EInvalidPeer = DBerror{"The specified peer is invalid", eINVALID_PEER} EReadBody = DBerror{"Unable to read request body", eREAD_BODY} ERequestQuery = DBerror{"Invalid query parameter format", eREQUEST_QUERY} EAlertBody = DBerror{"Invalid alert body. Body must be true or false", eALERT_BODY} ENodeConfigBody = DBerror{"Invalid node config body.", eNODE_CONFIG_BODY} ENodeDecommissioning = DBerror{"This node is in the process of leaving the cluster.", eNODE_DECOMMISSIONING} EDuplicateNodeID = DBerror{"The ID the node is using was already used by a cluster member at some point.", eDUPLICATE_NODE_ID} EProposalError = DBerror{"An error occurred while proposing cluster configuration change.", ePROPOSAL_ERROR} ESiteDoesNotExist = DBerror{"The specified site does not exist at this node.", eNO_SUCH_SITE} ERelayDoesNotExist = DBerror{"The specified relay does not exist at this node.", eNO_SUCH_RELAY} EBucketDoesNotExist = DBerror{"The site does not contain the specified bucket.", eNO_SUCH_BUCKET} ENoQuorum = DBerror{"The database operation was not able to achieve participation from the necessary number of replicas.", eNO_QUORUM} EOperationLocked = DBerror{"The attempted operation is currently locked on the partition that the specified data belongs to.", eOPERATION_LOCKED} ESnapshotInProgress = DBerror{"The specified snapshot is still in progress", eSNAPSHOT_IN_PROGRESS} ESnapshotOpenFailed = DBerror{"The snapshot could not be opened.", eSNAPSHOT_OPEN_FAILED} ESnapshotReadFailed = DBerror{"The snapshot could be opened, but it appears to be incomplete or invalid.", eSNAPSHOT_READ_FAILED} )
Functions ¶
This section is empty.
Types ¶
type DBerror ¶
func DBErrorFromJSON ¶
Click to show internal directories.
Click to hide internal directories.