public abstract @interface

QueryError

implements Annotation
com.steerpath.sdk.storage.QueryError

Class Overview

File Query error codes.

Summary

Constants
int AUTHENTICATION_FAILED Invalid API key.
int FAILED_TO_WRITE_FILE Server returned valid data, but device failed to write it into file.
int INVALID_PARAMETERS User error, check your params.
int IO_ERROR Failed to talk with the server.
int MALFORMED_JSON Server didn't return valid JSON.
int NOT_FOUND Requested resource not found.
int NO_CONNECTION No network.
int SDK_NOT_STARTED OkHttp cannot be aborted or cancelled.
int UNDEFINED Initial state, not yet defined.
int UNKNOWN_ERROR Unspecified error.
[Expand]
Inherited Methods
From interface java.lang.annotation.Annotation

Constants

public static final int AUTHENTICATION_FAILED

Invalid API key.

Constant Value: 101 (0x00000065)

public static final int FAILED_TO_WRITE_FILE

Server returned valid data, but device failed to write it into file.

Constant Value: 105 (0x00000069)

public static final int INVALID_PARAMETERS

User error, check your params.

Constant Value: 102 (0x00000066)

public static final int IO_ERROR

Failed to talk with the server.

Constant Value: 104 (0x00000068)

public static final int MALFORMED_JSON

Server didn't return valid JSON.

Constant Value: 106 (0x0000006a)

public static final int NOT_FOUND

Requested resource not found.

Constant Value: 107 (0x0000006b)

public static final int NO_CONNECTION

No network.

Constant Value: 100 (0x00000064)

public static final int SDK_NOT_STARTED

OkHttp cannot be aborted or cancelled. Catch error if OkHttp response comes after the SDK has been stopped.

Constant Value: 109 (0x0000006d)

public static final int UNDEFINED

Initial state, not yet defined.

Constant Value: -100 (0xffffff9c)

public static final int UNKNOWN_ERROR

Unspecified error.

Constant Value: 108 (0x0000006c)