Enum CouchbaseLiteError
This set of error codes applies to CouchbaseLiteException, CouchbaseNetworkException and CouchbaseWebsocketException
Namespace: Couchbase.Lite
Assembly: Couchbase.Lite.dll
Syntax
public enum CouchbaseLiteErrorFields
| Name | Description | 
|---|---|
| AddressNotAvailable | The address in question is already being used [EADDRNOTAVAIL, retryable] | 
| AssertionFailed | Internal assertion failure | 
| BadDocID | Invalid document ID | 
| BadRevisionID | An invalid revision ID was attempted to be used to insert a document (usually because of an invalid revision ID written directly into Sync Gateway via the REST API) | 
| BrokenPipe | Broken pipe [EPIPE, retryable] | 
| Busy | Database is busy / locked | 
| CantOpenFile | Database file can't be opened; may not exist | 
| CantUpgradeDatabase | Database can't be upgraded (might be unsupported dev version) | 
| Conflict | Document update conflict | 
| ConnectionAborted | The connection was aborted by the OS [ECONNABORTED, retryable] | 
| ConnectionRefused | The other side refused the connection [ECONNREFUSED, retryable] | 
| ConnectionReset | The connection was reset by the other side [ECONNRESET, retryable] | 
| CorruptData | Data is corrupted | 
| CorruptRevisionData | Revision contains corrupted/unreadable data | 
| Crypto | Encryption / Decryption error | 
| DatabaseTooNew | Database file format is newer than what I can open | 
| DatabaseTooOld | Database file format is older than what I can open | 
| DNSFailure | DNS Lookup failed | 
| HostDown | The other side reports it is down [EHOSTDOWN, retryable] | 
| HostUnreachable | There is no network path to the host [EHOSTUNREACH, retryable] | 
| HTTPAuthRequired | Missing or incorrect user authentication | 
| HTTPBase | Not an actual error, but serves as the lower bound for HTTP related errors | 
| HTTPConflict | Update conflict | 
| HTTPEntityTooLarge | Data is too large to upload | 
| HTTPForbidden | User doesn't have permission to access resource | 
| HTTPInternalServerError | Something's wrong with the server | 
| HTTPNotFound | Resource not found | 
| HTTPNotImplemented | Unimplemented server functionality | 
| HTTPProxyAuthRequired | HTTP proxy requires authentication | 
| HTTPServiceUnavailable | Service is down temporarily | 
| InvalidParameter | Invalid function parameter or struct value | 
| InvalidQuery | Invalid query | 
| InvalidQueryParam | Unknown query param name, or param number out of range | 
| InvalidRedirect | The client was redirected to an invalid location by the server | 
| InvalidUrl | The provided URL is not valid | 
| IOError | File I/O error | 
| MemoryError | Memory allocation failed (out of memory?) | 
| MissingIndex | No such index, or query requires a nonexistent index | 
| NetworkBase | Not an actual error, but serves as the lower bound for network related errors | 
| NetworkDown | The network subsystem is not functioning [ENETDOWN, retryable] | 
| NetworkReset | The network subsystem was reset [ENETRESET, retryable] | 
| NetworkUnreachable | There is no usable network at the moment [ENETUNREACH, retryable] | 
| NotConnected | The socket in question is no longer connected [ENOTCONN, retryable] | 
| NotFound | Document not found | 
| NotInTransaction | Function cannot be called while in a transaction | 
| NotOpen | Database/KeyStore is not open | 
| NotWriteable | File is not writeable | 
| RemoteError | Unknown error from remote server | 
| Timeout | Socket timeout during an operation | 
| TLSCertExpired | The provided TLS certificate has expired | 
| TLSCertNameMismatch | Peer's cert's Common Name doesn't match hostname | 
| TLSCertRevoked | Peer's cert has been revoked | 
| TLSCertUnknownRoot | Self-signed cert, or unknown anchor cert | 
| TLSCertUntrusted | Cert isn't trusted for other reason | 
| TLSClientCertRejected | Client certificate was rejected by the server | 
| TLSClientCertRequired | A required client certificate was not provided | 
| TLSHandshakeFailed | Failure during TLS handshake process | 
| TooManyRedirects | Too many HTTP redirects for the HTTP client to handle | 
| TransactionNotClosed | Database can't be closed while a transaction is open | 
| UnexpectedError | Internal unexpected C++ exception | 
| Unimplemented | An unimplemented API call | 
| Unknown | Unknown Network error | 
| UnknownHost | DNS server doesn't know the hostname | 
| UnknownInterface | Invalid Network Interface | 
| UnreadableDatabase | File is not a database or encryption key is wrong | 
| Unsupported | Operation not supported on this database | 
| UnsupportedEncryption | Unsupported encryption algorithm | 
| WebSocketAbnormalClose | TCP socket closed unexpectedly | 
| WebSocketBadMessageFormat | Unparseable WebSocket message | 
| WebSocketBase | Not an actual error, but serves as the lower bound for WebSocket related errors | 
| WebSocketCantFulfill | Can't fulfill request due to "unexpected condition" | 
| WebSocketDataError | Message payload cannot be handled | 
| WebSocketGoingAway | Peer has to close, e.g. because host app is quitting | 
| WebSocketMessageTooBig | Message is too large for peer to handle | 
| WebSocketMissingExtension | Peer doesn't provide a necessary extension | 
| WebSocketPolicyError | Message violated unspecified policy | 
| WebSocketProtocolError | Protocol violation: invalid framing data | 
| WebSocketUserPermanent | Exceptions during P2P replication that are permanent will be assigned this error code | 
| WebSocketUserTransient | Exceptions during P2P replication that are transient will be assigned this error code | 
| WrongFormat | Database exists but not in the format/storage requested |