LiteCore
Couchbase Lite cross-platform core implementation
|
An error value. More...
#include <c4Error.h>
Data Fields | |
C4ErrorDomain | domain |
int | code |
unsigned | internal_info |
An error value.
These are returned by reference from API calls whose last parameter is a C4Error*. The semantics are based on Cocoa's usage of NSError: A caller can pass NULL if it doesn't care about the error. The error is filled in only if the function fails, as indicated by its return value (e.g. false or NULL.) If the function doesn't fail, it does NOT zero out the error, so its contents should be considered uninitialized garbage.
int C4Error::code |
C4ErrorDomain C4Error::domain |
unsigned C4Error::internal_info |