Skip to content

Error Levels

Mukhtar Kiboigo edited this page Feb 16, 2019 · 3 revisions

The Error Levels


Error Name Value
global ERROR_OK 0
global ERROR_PROCESS_NOT_FOUND 1
global ERROR_OPEN_PROCESS 2
global ERROR_INVALID_HANDLE 3
global ERROR_MODULE_NOT_FOUND 4
global ERROR_ENUM_PROCESS_MODULES 5
global ERROR_ZONE_NOT_FOUND 6
global ERROR_CITY_NOT_FOUND 7
global ERROR_READ_MEMORY 8
global ERROR_WRITE_MEMORY 9
global ERROR_ALLOC_MEMORY 10
global ERROR_FREE_MEMORY 11
global ERROR_WAIT_FOR_OBJECT 12
global ERROR_CREATE_THREAD 13

global ERROR_OK := 0

Used for instances when the code is running fine. General placeholder for the existing error checking systems.

global ERROR_PROCESS_NOT_FOUND := 1

Used for instances when a hProcess cannot be found by the functions. General use in the read() functions.

global ERROR_OPEN_PROCESS := 2

Still figuring out when this is used lol

global ERROR_INVALID_HANDLE := 3

Still figuring out when this is used lol

global ERROR_MODULE_NOT_FOUND := 4

Still figuring out when this is used lol

global ERROR_ENUM_PROCESS_MODULES := 5

Still figuring out when this is used lol

global ERROR_ZONE_NOT_FOUND := 6

Used for when one of the general defined zones is not found. Self-explanatory.

global ERROR_CITY_NOT_FOUND := 7

Used for when one of the general defined cities is not found. Self-explanatory.

global ERROR_READ_MEMORY := 8

Used when there is an error reading the memory, generally the ADDR_ codes.

global ERROR_WRITE_MEMORY := 9

Used when there is an error writing to the memory, generally used for writeString()

global ERROR_ALLOC_MEMORY := 10

Used when there is an error allocating memory to a process.

global ERROR_FREE_MEMORY := 11

idk I think when the memory escapes the plantation lol

global ERROR_WAIT_FOR_OBJECT := 12

idk yet

global ERROR_CREATE_THREAD := 13

idk yet

Clone this wiki locally