Common transfer-level errors
HTTP status codes corresponding to common SDK-related transfer-level errors are as follows:
/**
* HTTP status code list, used on transfer level, signature errors, etc.
*/
enum HttpStatusCode {
/**
* Request in incorrect format. Common cause is server failing to deserialize due to request parameter error.
*/
BAD_REQUEST = 400,
/**
* Invalid authentication information; usually of signature error
*/
INVALID_AUTH = 401,
/**
* Clock non-synchronized on client side, with server-side refusal (to prevent replay attacks on signatures)
*/
CLOCK_TOO_SKEWED = 412,
/**
* HTTP request too large
*/
REQUEST_TOO_LARGE = 413,
/**
* internal error
*/
INTERNAL_ERROR = 500,
}