|
Sync Android SDK
1.0.3
|
Representation of a Sync Error object. More...
Public Member Functions | |
| int | getStatus () |
| Get error category as a classifier. More... | |
| int | getCode () |
| Returns unique code for given error. More... | |
| String | getMessage () |
| Returns error message of given error. More... | |
Static Public Attributes | |
| static int | MISMATCHING_TOKEN_UPDATE = -5 |
| Signaled to listener of SyncClient.updateToken() if updated token does not match the original token. More... | |
| static int | LOGIC_ERROR = -6 |
| Signaled to success listener if logic assumptions are violated (e.g. More... | |
Representation of a Sync Error object.
| int com.twilio.sync.ErrorInfo.getCode | ( | ) |
Returns unique code for given error.
| String com.twilio.sync.ErrorInfo.getMessage | ( | ) |
Returns error message of given error.
| int com.twilio.sync.ErrorInfo.getStatus | ( | ) |
Get error category as a classifier.
Local client errors get status 0, network related errors have their HTTP error code as a status.
|
static |
Signaled to success listener if logic assumptions are violated (e.g.
client not initialized, call parameters invalid, etc.)
|
static |
Signaled to listener of SyncClient.updateToken() if updated token does not match the original token.
Corrective course of action is to shutdown and re-create SyncClient.