DayZ 1.24
Loading...
Searching...
No Matches
BIOSErrorModule.c File Reference

Go to the source code of this file.

Classes

class  BIOSErrorModule
 

Enumerations

enum  EBiosError {
  OK = 0 , BAD_PARAMETER , NOT_FOUND , NOT_IMPLEMENTED ,
  PURCHASE_REQUIRED , NOT_ALLOWED , BANNED , LOGICAL ,
  WRONG_RESPONSE_DATA , SERVER_HEARTBEAT_SERVER_NOT_FOUND , SERVER_REGISTER_ALREADY_EXISTS , REQUEST_CREATE_FAIL_XHR ,
  REQUEST_SEND_FAIL , REQUEST_WAIT_FAIL , NON_JSON_RESPONSE , UPDATE_REQUIRED ,
  UPDATE_REQUIRED_AND_DOWNLOADED , COMUNICATION_ERROR , UNKNOWN = -1 , BAD_SCRIPT
}
 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. More...
 

Enumeration Type Documentation

◆ EBiosError

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.

Enumerator
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.)

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.

Definition at line 6 of file BIOSErrorModule.c.

7{
9 OK,
11 CANCEL
23 BANNED,
25 LOGICAL,
26
29
34
41
44
45 // RESERVED SPACE OF REDUNDANT ERRORS
46
51
54
56 UNKNOWN,
57
60};
@ COMUNICATION_ERROR
23 - Resource is unreachable or unavailable, can be 404 or no internet connection (etc....
@ NOT_IMPLEMENTED
4 - The call is not supported for the current platform. Can be returned from any call.
@ NOT_ALLOWED
6 - The action is not allowed. (restricted, not enough permission)
@ LOGICAL
8 - API usage error. For example, usage of objects whos native lifetime ended. Can be returned from a...
@ PURCHASE_REQUIRED
5 - [XB] The action cannot be performed because the user does not own the content.
@ BAD_SCRIPT
25 - Extended error. Script not properly linked with engine. May be removed in future.
@ REQUEST_SEND_FAIL
13 - Failed to send the data
@ UPDATE_REQUIRED
21 - [PS] Mandatory update exist and is required.
@ OK
0 - No error. Can be returned from any call.
@ SERVER_HEARTBEAT_SERVER_NOT_FOUND
10 - Server is no longer registered
@ REQUEST_CREATE_FAIL_XHR
12 - Failed to open the request
@ WRONG_RESPONSE_DATA
9 - Response was of unexpected format
@ BAD_PARAMETER
1 - The operation was cancelled. See individual calls for details.
@ UNKNOWN
24 - Any other error. Can be returned from any call.
@ SERVER_REGISTER_ALREADY_EXISTS
11 - Server was already registered
@ NON_JSON_RESPONSE
15 - Response was expected to be in JSON format, but it was not
@ NOT_FOUND
3 - The call could not find some data. See individual calls for details.
@ REQUEST_WAIT_FAIL
14 - Failed to wait for the operation to end - only in a synchronous call
@ UPDATE_REQUIRED_AND_DOWNLOADED
22 - [PS] Mandatory update exist and is ready to install.
@ BANNED
7 - [XB] The user is banned from some action.