Inherits from NSError
Declared in DBError.h

Overview

The DBError class is a subclass of NSError that always has domain set to DBErrorDomain.

Any method expected to fail will return a DBError object via the last parameter. Additionally, errors that happen in the background via syncing can also be retrieved, such as the error property on DBFileStatus.

Some failures (those which represent bugs or internal errors) will instead raise a DBException when they occur in an API method. A DBError will still be used if such a failure occurs on a background thread.

Tasks

Instance Methods

code

- (DBErrorCode)code
Discussion

The code on a DBError object is always listed in the DBErrorCode enum.

Declared In

DBError.h