Package com.couchbase.lite
Class CBLError.Code
java.lang.Object
com.couchbase.lite.CBLError.Code
- Enclosing class:
- CBLError
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Internal assertion failurestatic final int
Invalid document IDstatic final int
An was made to insert a document with an invalid revision ID This is frequently caused by an invalid revision ID written directly into Sync Gateway via the REST APIstatic final int
Database is busy / lockedstatic final int
Database file can't be opened; may not existstatic final int
Database can't be upgraded (might be unsupported dev version)static final int
Document update conflictstatic final int
Data is corruptedstatic final int
Revision contains corrupted/unreadable datastatic final int
Encryption / Decryption errorstatic final int
Database file format is newer than what I can openstatic final int
Database file format is older than what I can openstatic final int
DNS Lookup failedstatic final int
Missing or incorrect user authenticationstatic final int
static final int
Update conflictstatic final int
Data is too large to uploadstatic final int
User doesn't have permission to access resourcestatic final int
static final int
Something's wrong with the serverstatic final int
Resource not foundstatic final int
Unimplemented server functionalitystatic final int
HTTP proxy requires authenticationstatic final int
Service is down temporarilystatic final int
Invalid function parameter or struct valuestatic final int
Invalid querystatic final int
Unknown query param name, or param number out of rangestatic final int
The client was redirected to an invalid location by the serverstatic final int
The provided URL is not validstatic final int
File I/O errorstatic final int
Memory allocation failed (out of memory?)static final int
No such index, or query requires a nonexistent indexstatic final int
static final int
static final int
Document not foundstatic final int
Function cannot be called while in a transactionstatic final int
Database/KeyStore is not openstatic final int
File is not writeablestatic final int
Unknown error from remote serverstatic final int
Socket timeout during an operationstatic final int
The provided TLS certificate has expiredstatic final int
Self-signed cert, or unknown anchor certstatic final int
Cert isn't trusted for other reasonstatic final int
Client certificate was rejected by the serverstatic final int
A required client certificate was not providedstatic final int
Failure during TLS handshake processstatic final int
Too many HTTP redirects for the HTTP client to handlestatic final int
Database can't be closed while a transaction is openstatic final int
Internal unexpected C++ exceptionstatic final int
An unimplemented API callstatic final int
DNS server doesn't know the hostnamestatic final int
Operation not supported on this databasestatic final int
Unsupported encryption algorithmstatic final int
TCP socket closed unexpectedlystatic final int
Unparseable WebSocket messagestatic final int
Can't fulfill request due to "unexpected condition"static final int
Exceptions during P2P replication that are permanent will be assigned this error codestatic final int
Exceptions during P2P replication that are transient will be assigned this error codestatic final int
Message payload cannot be handledstatic final int
Peer has to close, e.g.static final int
Message is too large for peer to handlestatic final int
Peer doesn't provide a necessary extensionstatic final int
Not an error: This is the lower bound for WebSocket related errorsstatic final int
Message violated unspecified policystatic final int
Protocol violation: invalid framing datastatic final int
static final int
static final int
Database exists but not in the format/storage requested -
Method Summary
-
Field Details
-
ASSERTION_FAILED
public static final int ASSERTION_FAILEDInternal assertion failure- See Also:
-
UNIMPLEMENTED
public static final int UNIMPLEMENTEDAn unimplemented API call- See Also:
-
UNSUPPORTED_ENCRYPTION
public static final int UNSUPPORTED_ENCRYPTIONUnsupported encryption algorithm- See Also:
-
BAD_REVISION_ID
public static final int BAD_REVISION_IDAn was made to insert a document with an invalid revision ID This is frequently caused by an invalid revision ID written directly into Sync Gateway via the REST API- See Also:
-
CORRUPT_REVISION_DATA
public static final int CORRUPT_REVISION_DATARevision contains corrupted/unreadable data- See Also:
-
NOT_OPEN
public static final int NOT_OPENDatabase/KeyStore is not open- See Also:
-
NOT_FOUND
public static final int NOT_FOUNDDocument not found- See Also:
-
CONFLICT
public static final int CONFLICTDocument update conflict- See Also:
-
INVALID_PARAMETER
public static final int INVALID_PARAMETERInvalid function parameter or struct value- See Also:
-
UNEXPECTED_ERROR
public static final int UNEXPECTED_ERRORInternal unexpected C++ exception- See Also:
-
CANT_OPEN_FILE
public static final int CANT_OPEN_FILEDatabase file can't be opened; may not exist- See Also:
-
IO_ERROR
public static final int IO_ERRORFile I/O error- See Also:
-
MEMORY_ERROR
public static final int MEMORY_ERRORMemory allocation failed (out of memory?)- See Also:
-
NOT_WRITABLE
public static final int NOT_WRITABLEFile is not writeable- See Also:
-
CORRUPT_DATA
public static final int CORRUPT_DATAData is corrupted- See Also:
-
BUSY
public static final int BUSYDatabase is busy / locked- See Also:
-
NOT_IN_TRANSACTION
public static final int NOT_IN_TRANSACTIONFunction cannot be called while in a transaction- See Also:
-
TRANSACTION_NOT_CLOSED
public static final int TRANSACTION_NOT_CLOSEDDatabase can't be closed while a transaction is open- See Also:
-
UNSUPPORTED
public static final int UNSUPPORTEDOperation not supported on this database- See Also:
-
NOT_A_DATABASE_FILE
public static final int NOT_A_DATABASE_FILE- See Also:
-
WRONG_FORMAT
public static final int WRONG_FORMATDatabase exists but not in the format/storage requested- See Also:
-
CRYPTO
public static final int CRYPTOEncryption / Decryption error- See Also:
-
INVALID_QUERY
public static final int INVALID_QUERYInvalid query- See Also:
-
MISSING_INDEX
public static final int MISSING_INDEXNo such index, or query requires a nonexistent index- See Also:
-
INVALID_QUERY_PARAM
public static final int INVALID_QUERY_PARAMUnknown query param name, or param number out of range- See Also:
-
REMOTE_ERROR
public static final int REMOTE_ERRORUnknown error from remote server- See Also:
-
DATABASE_TOO_OLD
public static final int DATABASE_TOO_OLDDatabase file format is older than what I can open- See Also:
-
DATABASE_TOO_NEW
public static final int DATABASE_TOO_NEWDatabase file format is newer than what I can open- See Also:
-
BAD_DOC_ID
public static final int BAD_DOC_IDInvalid document ID- See Also:
-
CANT_UPGRADE_DATABASE
public static final int CANT_UPGRADE_DATABASEDatabase can't be upgraded (might be unsupported dev version)- See Also:
-
NETWORK_OFFSET
public static final int NETWORK_OFFSET- See Also:
-
DNS_FAILURE
public static final int DNS_FAILUREDNS Lookup failed- See Also:
-
UNKNOWN_HOST
public static final int UNKNOWN_HOSTDNS server doesn't know the hostname- See Also:
-
TIMEOUT
public static final int TIMEOUTSocket timeout during an operation- See Also:
-
INVALID_URL
public static final int INVALID_URLThe provided URL is not valid- See Also:
-
TOO_MANY_REDIRECTS
public static final int TOO_MANY_REDIRECTSToo many HTTP redirects for the HTTP client to handle- See Also:
-
TLS_HANDSHAKE_FAILED
public static final int TLS_HANDSHAKE_FAILEDFailure during TLS handshake process- See Also:
-
TLS_CERT_EXPIRED
public static final int TLS_CERT_EXPIREDThe provided TLS certificate has expired- See Also:
-
TLS_CERT_UNTRUSTED
public static final int TLS_CERT_UNTRUSTEDCert isn't trusted for other reason- See Also:
-
TLS_CLIENT_CERT_REQUIRED
public static final int TLS_CLIENT_CERT_REQUIREDA required client certificate was not provided- See Also:
-
TLS_CLIENT_CERT_REJECTED
public static final int TLS_CLIENT_CERT_REJECTEDClient certificate was rejected by the server- See Also:
-
TLS_CERT_UNKNOWN_ROOT
public static final int TLS_CERT_UNKNOWN_ROOTSelf-signed cert, or unknown anchor cert- See Also:
-
INVALID_REDIRECT
public static final int INVALID_REDIRECTThe client was redirected to an invalid location by the server- See Also:
-
HTTP_BASE
public static final int HTTP_BASE- See Also:
-
HTTP_AUTH_REQUIRED
public static final int HTTP_AUTH_REQUIREDMissing or incorrect user authentication- See Also:
-
HTTP_FORBIDDEN
public static final int HTTP_FORBIDDENUser doesn't have permission to access resource- See Also:
-
HTTP_NOT_FOUND
public static final int HTTP_NOT_FOUNDResource not found- See Also:
-
HTTP_CONFLICT
public static final int HTTP_CONFLICTUpdate conflict- See Also:
-
HTTP_PROXY_AUTH_REQUIRED
public static final int HTTP_PROXY_AUTH_REQUIREDHTTP proxy requires authentication- See Also:
-
HTTP_ENTITY_TOO_LARGE
public static final int HTTP_ENTITY_TOO_LARGEData is too large to upload- See Also:
-
HTTP_IM_A_TEAPOT
public static final int HTTP_IM_A_TEAPOT- See Also:
-
HTTP_INTERNAL_SERVER_ERROR
public static final int HTTP_INTERNAL_SERVER_ERRORSomething's wrong with the server- See Also:
-
HTTP_NOT_IMPLEMENTED
public static final int HTTP_NOT_IMPLEMENTEDUnimplemented server functionality- See Also:
-
HTTP_SERVICE_UNAVAILABLE
public static final int HTTP_SERVICE_UNAVAILABLEService is down temporarily- See Also:
-
WEB_SOCKET_NORMAL_CLOSE
public static final int WEB_SOCKET_NORMAL_CLOSENot an error: This is the lower bound for WebSocket related errors- See Also:
-
WEB_SOCKET_GOING_AWAY
public static final int WEB_SOCKET_GOING_AWAYPeer has to close, e.g. because host app is quitting- See Also:
-
WEB_SOCKET_PROTOCOL_ERROR
public static final int WEB_SOCKET_PROTOCOL_ERRORProtocol violation: invalid framing data- See Also:
-
WEB_SOCKET_DATA_ERROR
public static final int WEB_SOCKET_DATA_ERRORMessage payload cannot be handled- See Also:
-
WEB_SOCKET_ABNORMAL_CLOSE
public static final int WEB_SOCKET_ABNORMAL_CLOSETCP socket closed unexpectedly- See Also:
-
WEB_SOCKET_BAD_MESSAGE_FORMAT
public static final int WEB_SOCKET_BAD_MESSAGE_FORMATUnparseable WebSocket message- See Also:
-
WEB_SOCKET_POLICY_ERROR
public static final int WEB_SOCKET_POLICY_ERRORMessage violated unspecified policy- See Also:
-
WEB_SOCKET_MESSAGE_TOO_BIG
public static final int WEB_SOCKET_MESSAGE_TOO_BIGMessage is too large for peer to handle- See Also:
-
WEB_SOCKET_MISSING_EXTENSION
public static final int WEB_SOCKET_MISSING_EXTENSIONPeer doesn't provide a necessary extension- See Also:
-
WEB_SOCKET_CANT_FULFILL
public static final int WEB_SOCKET_CANT_FULFILLCan't fulfill request due to "unexpected condition"- See Also:
-
WEB_SOCKET_TLS_FAILURE
public static final int WEB_SOCKET_TLS_FAILURE- See Also:
-
WEB_SOCKET_USER
public static final int WEB_SOCKET_USER- See Also:
-
WEB_SOCKET_CLOSE_USER_TRANSIENT
public static final int WEB_SOCKET_CLOSE_USER_TRANSIENTExceptions during P2P replication that are transient will be assigned this error code- See Also:
-
WEB_SOCKET_CLOSE_USER_PERMANENT
public static final int WEB_SOCKET_CLOSE_USER_PERMANENTExceptions during P2P replication that are permanent will be assigned this error code- See Also:
-