CBLError
public struct CBLError
Undocumented
-
Undocumented
Declaration
Swift
public static let domain: String
-
Internal assertion failure
Declaration
Swift
public static let assertionFailed: Int
-
Oops an unimplemented API call
Declaration
Swift
public static let unimplemented: Int
-
Unsupported encryption algorithm
Declaration
Swift
public static let unsupportedEncryption: Int
-
Invalid revision ID syntax
Declaration
Swift
public static let badRevisionID: Int
-
Document contains corrupted/unreadable data
Declaration
Swift
public static let corruptRevisionData: Int
-
Database/KeyStore/index is not open
Declaration
Swift
public static let notOpen: Int
-
Document not found
Declaration
Swift
public static let notFound: Int
-
Document update conflict
Declaration
Swift
public static let conflict: Int
-
Invalid function parameter or struct value
Declaration
Swift
public static let invalidParameter: Int
-
Internal unexpected C++ exception
Declaration
Swift
public static let unexpectedError: Int
-
Database file can’t be opened; may not exist
Declaration
Swift
public static let cantOpenFile: Int
-
File I/O error
Declaration
Swift
public static let ioError: Int
-
Memory allocation failed (out of memory?)
Declaration
Swift
public static let memoryError: Int
-
File is not writeable
Declaration
Swift
public static let notWriteable: Int
-
Data is corrupted
Declaration
Swift
public static let corruptData: Int
-
Database is busy/locked
Declaration
Swift
public static let busy: Int
-
Function must be called while in a transaction
Declaration
Swift
public static let notInTransaction: Int
-
Database can’t be closed while a transaction is open
Declaration
Swift
public static let transactionNotClosed: Int
-
Operation not supported in this database
Declaration
Swift
public static let unsupported: Int
-
File is not a database or encryption key is wrong
Declaration
Swift
public static let unreadableDatabase: Int
-
Database exists but not in the format/storage requested
Declaration
Swift
public static let wrongFormat: Int
-
Encryption/decryption error
Declaration
Swift
public static let crypto: Int
-
Invalid query
Declaration
Swift
public static let invalidQuery: Int
-
No such index or query requires a nonexistent index
Declaration
Swift
public static let missingIndex: Int
-
Unknown query param name or param number out of range
Declaration
Swift
public static let invalidQueryParam: Int
-
Unknown error from remote server
Declaration
Swift
public static let remoteError: Int
-
Database file format is older than what I can open
Declaration
Swift
public static let databaseTooOld: Int
-
Database file format is newer than what I can open
Declaration
Swift
public static let databaseTooNew: Int
-
Invalid document ID
Declaration
Swift
public static let badDocID: Int
-
Database can’t be upgraded (might be unsupported dev version)
Declaration
Swift
public static let cantUpgradeDatabase: Int
-
Network error codes start here
Declaration
Swift
public static let networkBase: Int
-
DNS lookup failed
Declaration
Swift
public static let dnsFailure: Int
-
DNS server doesn’t know the hostname
Declaration
Swift
public static let unknownHost: Int
-
Socket timeout during an operation
Declaration
Swift
public static let timeout: Int
-
The provided url is not valid
Declaration
Swift
public static let invalidURL: Int
-
Too many HTTP redirects for the HTTP client to handle
Declaration
Swift
public static let tooManyRedirects: Int
-
Failure during TLS handshake process
Declaration
Swift
public static let tlsHandshakeFailed: Int
-
The provided TLS certificate has expired
Declaration
Swift
public static let tlsCertExpired: Int
-
Cert isn’t trusted for other reason
Declaration
Swift
public static let tlsCertUntrusted: Int
-
A required client certificate was not provided
Declaration
Swift
public static let tlsClientCertRequired: Int
-
Client certificate was rejected by the server
Declaration
Swift
public static let tlsClientCertRejected: Int
-
Self-signed cert or unknown anchor cert
Declaration
Swift
public static let tlsCertUnknownRoot: Int
-
Attempted redirect to invalid replication endpoint by server
Declaration
Swift
public static let invalidRedirect: Int
-
HTTP status codes start here
Declaration
Swift
public static let httpBase: Int
-
Missing or incorrect user authentication
Declaration
Swift
public static let httpAuthRequired: Int
-
User doesn’t have permission to access resource
Declaration
Swift
public static let httpForbidden: Int
-
Resource not found
Declaration
Swift
public static let httpNotFound: Int
-
Update conflict
Declaration
Swift
public static let httpConflict: Int
-
HTTP proxy requires authentication
Declaration
Swift
public static let httpProxyAuthRequired: Int
-
Data is too large to upload
Declaration
Swift
public static let httpEntityTooLarge: Int
-
HTCPCP/1.0 error (RFC 2324)
Declaration
Swift
public static let httpImATeapot: Int
-
Something’s wrong with the server
Declaration
Swift
public static let httpInternalServerError: Int
-
Unimplemented server functionality
Declaration
Swift
public static let httpNotImplemented: Int
-
Service is down temporarily(?)
Declaration
Swift
public static let httpServiceUnavailable: Int
-
WebSocket status codes start here
Declaration
Swift
public static let webSocketBase: Int
-
Peer has to close e.g. because host app is quitting
Declaration
Swift
public static let webSocketGoingAway: Int
-
Protocol violation: invalid framing data
Declaration
Swift
public static let webSocketProtocolError: Int
-
Message payload cannot be handled
Declaration
Swift
public static let webSocketDataError: Int
-
TCP socket closed unexpectedly
Declaration
Swift
public static let webSocketAbnormalClose: Int
-
Unparseable WebSocket message
Declaration
Swift
public static let webSocketBadMessageFormat: Int
-
Message violated unspecified policy
Declaration
Swift
public static let webSocketPolicyError: Int
-
Message is too large for peer to handle
Declaration
Swift
public static let webSocketMessageTooBig: Int
-
Peer doesn’t provide a necessary extension
Declaration
Swift
public static let webSocketMissingExtension: Int
-
Can’t fulfill request due to “unexpected condition”
Declaration
Swift
public static let webSocketCantFulfill: Int
-
Recoverable messaging error
Declaration
Swift
public static let webSocketCloseUserTransient: Int
-
Non-recoverable messaging error
Declaration
Swift
public static let webSocketCloseUserPermanent: Int
-
Invalid JSON string error
Declaration
Swift
public static let invalidJSON: Int