|
Couchbase Lite C
Couchbase Lite C API
|
Types and constants for communicating errors from API calls. More...
Data Structures | |
| struct | CBLError |
| A struct holding information about an error. More... | |
Functions | |
| FLSliceResult | CBLError_Message (const CBLError *_cbl_nullable outError) |
| Returns a message describing an error. More... | |
Types and constants for communicating errors from API calls.
| enum CBLErrorCode : int32_t |
Couchbase Lite error codes, in the CBLDomain.
| enum CBLErrorDomain : uint8_t |
Error domains, serving as namespaces for numeric error codes.
| Enumerator | |
|---|---|
| kCBLDomain | code is a Couchbase Lite error code; see CBLErrorCode |
| kCBLPOSIXDomain | code is a POSIX |
| kCBLSQLiteDomain | code is a SQLite error; see "sqlite3.h" |
| kCBLFleeceDomain | code is a Fleece error; see "FleeceException.h" |
| kCBLNetworkDomain | code is a network error; see CBLNetworkErrorCode |
| kCBLWebSocketDomain | code is a WebSocket close code (1000...1015) or HTTP error (300..599) |
| enum CBLNetworkErrorCode : int32_t |
Network error codes, in the CBLNetworkDomain.
| FLSliceResult CBLError_Message | ( | const CBLError *_cbl_nullable | outError | ) |
Returns a message describing an error.