Possible Error codes for bios API. This is the list of errors that can be returned from bios API. Errors after UNKNOWN are extended errors that are not present in the native API.
Элементы перечислений |
---|
OK | 0 - No error. Can be returned from any call.
|
BAD_PARAMETER | 1 - The operation was cancelled. See individual calls for details.
2 - Atleast one of the input parameters is incorrect
|
NOT_FOUND | 3 - The call could not find some data. See individual calls for details.
|
NOT_IMPLEMENTED | 4 - The call is not supported for the current platform. Can be returned from any call.
|
PURCHASE_REQUIRED | 5 - [XB] The action cannot be performed because the user does not own the content.
|
NOT_ALLOWED | 6 - The action is not allowed. (restricted, not enough permission)
|
BANNED | 7 - [XB] The user is banned from some action.
|
LOGICAL | 8 - API usage error. For example, usage of objects whos native lifetime ended. Can be returned from any call.
|
WRONG_RESPONSE_DATA | 9 - Response was of unexpected format
|
SERVER_HEARTBEAT_SERVER_NOT_FOUND | 10 - Server is no longer registered
|
SERVER_REGISTER_ALREADY_EXISTS | 11 - Server was already registered
|
REQUEST_CREATE_FAIL_XHR | 12 - Failed to open the request
|
REQUEST_SEND_FAIL | 13 - Failed to send the data
|
REQUEST_WAIT_FAIL | 14 - Failed to wait for the operation to end - only in a synchronous call
|
NON_JSON_RESPONSE | 15 - Response was expected to be in JSON format, but it was not
|
UPDATE_REQUIRED | 21 - [PS] Mandatory update exist and is required.
|
UPDATE_REQUIRED_AND_DOWNLOADED | 22 - [PS] Mandatory update exist and is ready to install.
|
COMUNICATION_ERROR | 23 - Resource is unreachable or unavailable, can be 404 or no internet connection (etc.) - general communication error.
|
UNKNOWN | 24 - Any other error. Can be returned from any call.
|
BAD_SCRIPT | 25 - Extended error. Script not properly linked with engine. May be removed in future.
|
COMMUNICATION_TIMED_OUT | 26 - Connection has timed out.
|
COMMUNICATION_RESET | 27 - Connection was reset.
|
COMMUNICATION_ABORTED | 28 - Connection was aborted.
|
7{
26
29
34
41
44
45
46
51
54
57
60
61
68};
@ COMUNICATION_ERROR
23 - Resource is unreachable or unavailable, can be 404 or no internet connection (etc....
Definition BIOSErrorModule.c:53
@ NOT_IMPLEMENTED
4 - The call is not supported for the current platform. Can be returned from any call.
Definition BIOSErrorModule.c:17
@ NOT_ALLOWED
6 - The action is not allowed. (restricted, not enough permission)
Definition BIOSErrorModule.c:21
@ COMMUNICATION_TIMED_OUT
26 - Connection has timed out.
Definition BIOSErrorModule.c:63
@ LOGICAL
8 - API usage error. For example, usage of objects whos native lifetime ended. Can be returned from a...
Definition BIOSErrorModule.c:25
@ PURCHASE_REQUIRED
5 - [XB] The action cannot be performed because the user does not own the content.
Definition BIOSErrorModule.c:19
@ BAD_SCRIPT
25 - Extended error. Script not properly linked with engine. May be removed in future.
Definition BIOSErrorModule.c:59
@ REQUEST_SEND_FAIL
13 - Failed to send the data
Definition BIOSErrorModule.c:38
@ UPDATE_REQUIRED
21 - [PS] Mandatory update exist and is required.
Definition BIOSErrorModule.c:48
@ OK
0 - No error. Can be returned from any call.
Definition BIOSErrorModule.c:9
@ SERVER_HEARTBEAT_SERVER_NOT_FOUND
10 - Server is no longer registered
Definition BIOSErrorModule.c:31
@ REQUEST_CREATE_FAIL_XHR
12 - Failed to open the request
Definition BIOSErrorModule.c:36
@ WRONG_RESPONSE_DATA
9 - Response was of unexpected format
Definition BIOSErrorModule.c:28
@ COMMUNICATION_RESET
27 - Connection was reset.
Definition BIOSErrorModule.c:65
@ BAD_PARAMETER
1 - The operation was cancelled. See individual calls for details.
Definition BIOSErrorModule.c:13
@ COMMUNICATION_ABORTED
28 - Connection was aborted.
Definition BIOSErrorModule.c:67
@ UNKNOWN
24 - Any other error. Can be returned from any call.
Definition BIOSErrorModule.c:56
@ SERVER_REGISTER_ALREADY_EXISTS
11 - Server was already registered
Definition BIOSErrorModule.c:33
@ NON_JSON_RESPONSE
15 - Response was expected to be in JSON format, but it was not
Definition BIOSErrorModule.c:43
@ NOT_FOUND
3 - The call could not find some data. See individual calls for details.
Definition BIOSErrorModule.c:15
@ REQUEST_WAIT_FAIL
14 - Failed to wait for the operation to end - only in a synchronous call
Definition BIOSErrorModule.c:40
@ UPDATE_REQUIRED_AND_DOWNLOADED
22 - [PS] Mandatory update exist and is ready to install.
Definition BIOSErrorModule.c:50
@ BANNED
7 - [XB] The user is banned from some action.
Definition BIOSErrorModule.c:23