public C4SliceResult c4error_getMessage(C4Error error) => NativeRaw.c4error_getMessage(error);
public bool c4error_mayBeNetworkDependent(C4Error err) => Native.c4error_mayBeNetworkDependent(err);
public bool c4error_mayBeTransient(C4Error err) => Native.c4error_mayBeTransient(err);
public string c4error_getMessage(C4Error error) => Native.c4error_getMessage(error);
public void c4socket_closed(C4Socket *socket, C4Error errorIfAny) => Native.c4socket_closed(socket, errorIfAny);
private static bool IsBusy(C4Error err) { return((err.domain == C4ErrorDomain.LiteCoreDomain && err.code == (int)LiteCoreError.Busy) || (err.domain == C4ErrorDomain.SQLiteDomain && err.code == (int)SQLiteStatus.Busy)); }