Error Codes

Valex Error Code Reference

Complete Error Code List

This document provides a comprehensive reference for all error codes used in the Valex application.


Error Code Format

Error codes follow the format: 0xCCSC

  • CC: Category Code (first 2 hex digits)

  • SC: Subcategory/Specific Error Code (last 2 hex digits)


SUCCESS (0x00XX)

Code
Name
Description

0x0000

SUCCESS

Operation completed successfully


SYSTEM ERRORS (0x01XX)

Code
Name
Description
Severity
Recoverable

0x0101

SYS_PRIVILEGE_ELEVATION_FAILED

Failed to elevate process privileges

CRITICAL

No

0x0102

SYS_ADMIN_REQUIRED

Administrator privileges required

CRITICAL

No

0x0103

SYS_PROCESS_SNAPSHOT_FAILED

Failed to create process snapshot

ERROR

Yes

0x0104

SYS_INSUFFICIENT_PERMISSIONS

Insufficient system permissions

ERROR

No

0x0105

SYS_SERVICE_MANAGER_ACCESS_DENIED

Service manager access denied

ERROR

Yes

0x0106

SYS_TIME_SERVICE_UNAVAILABLE

Windows Time service unavailable

WARNING

Yes

0x0107

SYS_TIME_SYNC_FAILED

Time synchronization failed

WARNING

Yes

0x0108

SYS_KERNEL_DRIVER_MISSING

Required kernel driver missing

ERROR

No

0x0109

SYS_UNSUPPORTED_OS_VERSION

Unsupported operating system version

ERROR

No

0x010A

SYS_INCOMPATIBLE_ARCHITECTURE

Incompatible system architecture

ERROR

No

0x010B

SYS_SYSTEM_CALL_FAILED

System call failed

ERROR

Yes


AUTHENTICATION ERRORS (0x02XX)

Code
Name
Description
Severity
Recoverable

0x0201

AUTH_INITIALIZATION_FAILED

Authentication system initialization failed

CRITICAL

Yes

0x0202

AUTH_INVALID_CREDENTIALS

Invalid license key

ERROR

No

0x0203

AUTH_LICENSE_INVALID

License key is invalid

ERROR

No

0x0204

AUTH_LICENSE_EXPIRED

License has expired

ERROR

No

0x0205

AUTH_LICENSE_SUSPENDED

License has been suspended

ERROR

No

0x0206

AUTH_SESSION_EXPIRED

Authentication session expired

WARNING

No

0x0207

AUTH_SERVER_UNREACHABLE

Cannot reach authentication server

ERROR

Yes

0x0208

AUTH_NETWORK_TIMEOUT

Authentication request timed out

ERROR

Yes

0x0209

AUTH_INVALID_RESPONSE

Invalid server response

ERROR

Yes

0x020A

AUTH_HWID_MISMATCH

Hardware ID mismatch

CRITICAL

No

0x020B

AUTH_MAX_SESSIONS_REACHED

Maximum concurrent sessions reached

ERROR

No

0x020C

AUTH_SUBSCRIPTION_INACTIVE

Subscription is inactive

ERROR

No

0x020D

AUTH_RATE_LIMIT_EXCEEDED

Too many authentication attempts

WARNING

Yes

0x020E

AUTH_KEY_FILE_CORRUPTED

License key file corrupted

WARNING

Yes

0x020F

AUTH_KEY_FILE_READ_ERROR

Failed to read key file

WARNING

Yes

0x0210

AUTH_KEY_FILE_WRITE_ERROR

Failed to write key file

WARNING

Yes

0x0211

AUTH_VERIFICATION_FAILED

License verification failed

ERROR

Yes


SECURITY ERRORS (0x03XX)

Code
Name
Description
Severity
Recoverable

0x0301

SEC_DEBUGGER_DETECTED

Debugger detected

FATAL

No

0x0302

SEC_REMOTE_DEBUGGER_DETECTED

Remote debugger detected

FATAL

No

0x0303

SEC_HARDWARE_BREAKPOINT_DETECTED

Hardware breakpoint detected

FATAL

No

0x0304

SEC_SOFTWARE_BREAKPOINT_DETECTED

Software breakpoint detected

FATAL

No

0x0305

SEC_SUSPICIOUS_PROCESS_DETECTED

Suspicious process detected

FATAL

No

0x0306

SEC_VM_DETECTED

Virtual machine detected

FATAL

No

0x0307

SEC_VM_ARTIFACT_DETECTED

VM artifact detected

FATAL

No

0x0308

SEC_EXECUTION_SLOWED

Execution timing anomaly

FATAL

No

0x0309

SEC_MEMORY_DUMP_DETECTED

Memory dump tool detected

FATAL

No

0x030A

SEC_PE_HEADER_CORRUPTED

PE header corrupted

FATAL

No

0x030B

SEC_INTEGRITY_CHECK_FAILED

Integrity check failed

FATAL

No

0x030C

SEC_TAMPER_DETECTED

Tampering detected

FATAL

No

0x030D

SEC_INJECTION_DETECTED

Code injection detected

FATAL

No

0x030E

SEC_HOOK_DETECTED

Function hook detected

FATAL

No

0x030F

SEC_SANDBOX_DETECTED

Sandbox environment detected

FATAL

No

0x0310

SEC_EMULATOR_DETECTED

Emulator detected

FATAL

No

0x0311

SEC_UNAUTHORIZED_MODULE

Unauthorized module loaded

FATAL

No

0x0312

SEC_CODE_SIGNING_INVALID

Code signature invalid

FATAL

No


DEPENDENCY ERRORS (0x04XX)

Code
Name
Description
Severity
Recoverable

0x0401

DEP_DIRECTX_MISSING

DirectX runtime missing

CRITICAL

No

0x0402

DEP_D3DCOMPILER_MISSING

D3D Compiler DLL missing

CRITICAL

No

0x0403

DEP_VISUAL_RUNTIME_MISSING

Visual C++ Runtime missing

CRITICAL

No

0x0404

DEP_DOTNET_MISSING

.NET Framework missing

ERROR

No

0x0405

DEP_WINDOWS_SDK_MISSING

Windows SDK missing

ERROR

No

0x0406

DEP_OPENGL_MISSING

OpenGL library missing

ERROR

No

0x0407

DEP_VULKAN_MISSING

Vulkan library missing

ERROR

No

0x0408

DEP_SYSTEM_DLL_MISSING

System DLL missing

ERROR

No

0x0409

DEP_VERSION_MISMATCH

Library version mismatch

ERROR

Yes

0x040A

DEP_CORRUPTED_LIBRARY

Corrupted library file

ERROR

No

0x040B

DEP_INCOMPATIBLE_VERSION

Incompatible library version

ERROR

No

0x040C

DEP_LIBRARY_LOAD_FAILED

Failed to load library

ERROR

Yes

0x040D

DEP_SYMBOL_RESOLUTION_FAILED

Symbol resolution failed

ERROR

Yes


GAME ERRORS (0x05XX)

Code
Name
Description
Severity
Recoverable

0x0501

GAME_NOT_RUNNING

Game is not running

ERROR

No

0x0502

GAME_PROCESS_NOT_FOUND

Game process not found

ERROR

Yes

0x0503

GAME_WINDOW_NOT_FOUND

Game window not found

WARNING

Yes

0x0504

GAME_INVALID_VERSION

Invalid game version

ERROR

No

0x0505

GAME_UNSUPPORTED_BUILD

Unsupported game build

ERROR

No

0x0506

GAME_DATA_MODEL_INVALID

Data model invalid

WARNING

Yes

0x0507

GAME_VISUAL_ENGINE_INVALID

Visual engine invalid

WARNING

Yes

0x0508

GAME_PLAYERS_INSTANCE_NOT_FOUND

Players instance not found

WARNING

Yes

0x0509

GAME_LOCAL_PLAYER_NOT_FOUND

Local player not found

WARNING

Yes

0x050A

GAME_CHARACTER_NOT_FOUND

Character not found

WARNING

Yes

0x050B

GAME_HUMANOID_NOT_FOUND

Humanoid not found

WARNING

Yes

0x050C

GAME_CAMERA_NOT_FOUND

Camera not found

WARNING

Yes

0x050D

GAME_WORKSPACE_INVALID

Workspace invalid

WARNING

Yes

0x050E

GAME_PLACE_ID_INVALID

Place ID invalid

WARNING

Yes

0x050F

GAME_MEMORY_READ_FAILED

Memory read failed

ERROR

Yes

0x0510

GAME_MEMORY_WRITE_FAILED

Memory write failed

ERROR

Yes

0x0511

GAME_PATTERN_SCAN_FAILED

Pattern scan failed

ERROR

No

0x0512

GAME_OFFSET_INVALID

Memory offset invalid

ERROR

No

0x0513

GAME_STATE_CORRUPTED

Game state corrupted

ERROR

Yes


NETWORK ERRORS (0x06XX)

Code
Name
Description
Severity
Recoverable

0x0601

NET_CONNECTION_FAILED

Network connection failed

ERROR

Yes

0x0602

NET_TIMEOUT

Network request timed out

WARNING

Yes

0x0603

NET_DNS_RESOLUTION_FAILED

DNS resolution failed

ERROR

Yes

0x0604

NET_SSL_HANDSHAKE_FAILED

SSL handshake failed

ERROR

Yes

0x0605

NET_CERTIFICATE_INVALID

SSL certificate invalid

ERROR

No

0x0606

NET_PROXY_ERROR

Proxy configuration error

ERROR

Yes

0x0607

NET_FIREWALL_BLOCKED

Connection blocked by firewall

WARNING

Yes

0x0608

NET_NO_INTERNET

No internet connection

ERROR

No

0x0609

NET_SERVER_ERROR

Server returned error

ERROR

Yes

0x060A

NET_MALFORMED_RESPONSE

Malformed server response

ERROR

Yes

0x060B

NET_RATE_LIMITED

Rate limit exceeded

WARNING

Yes


FILESYSTEM ERRORS (0x07XX)

Code
Name
Description
Severity
Recoverable

0x0701

FS_FILE_NOT_FOUND

File not found

ERROR

Yes

0x0702

FS_ACCESS_DENIED

File access denied

ERROR

No

0x0703

FS_DISK_FULL

Disk is full

ERROR

No

0x0704

FS_PATH_TOO_LONG

File path too long

ERROR

No

0x0705

FS_INVALID_PATH

Invalid file path

ERROR

No

0x0706

FS_FILE_CORRUPTED

File is corrupted

WARNING

Yes

0x0707

FS_READ_ERROR

File read error

WARNING

Yes

0x0708

FS_WRITE_ERROR

File write error

WARNING

Yes

0x0709

FS_DELETE_ERROR

File delete error

WARNING

Yes

0x070A

FS_CREATE_DIR_FAILED

Directory creation failed

WARNING

Yes

0x070B

FS_PERMISSION_DENIED

Permission denied

ERROR

No

0x070C

FS_FILE_IN_USE

File is in use

WARNING

Yes

0x070D

FS_INVALID_FORMAT

Invalid file format

ERROR

No


MEMORY ERRORS (0x08XX)

Code
Name
Description
Severity
Recoverable

0x0801

MEM_ALLOCATION_FAILED

Memory allocation failed

CRITICAL

Yes

0x0802

MEM_OUT_OF_MEMORY

Out of memory

CRITICAL

No

0x0803

MEM_INVALID_ADDRESS

Invalid memory address

FATAL

No

0x0804

MEM_ACCESS_VIOLATION

Memory access violation

FATAL

No

0x0805

MEM_PROTECTION_FAILED

Memory protection failed

ERROR

Yes

0x0806

MEM_PAGE_FAULT

Memory page fault

FATAL

No

0x0807

MEM_HEAP_CORRUPTION

Heap corruption detected

FATAL

No

0x0808

MEM_STACK_OVERFLOW

Stack overflow

FATAL

No

0x0809

MEM_DOUBLE_FREE

Double free detected

FATAL

No

0x080A

MEM_USE_AFTER_FREE

Use after free detected

FATAL

No

0x080B

MEM_BUFFER_OVERFLOW

Buffer overflow detected

FATAL

No


THREAD ERRORS (0x09XX)

Code
Name
Description
Severity
Recoverable

0x0901

THR_CREATE_FAILED

Thread creation failed

ERROR

Yes

0x0902

THR_JOIN_FAILED

Thread join failed

ERROR

Yes

0x0903

THR_DETACH_FAILED

Thread detach failed

ERROR

Yes

0x0904

THR_DEADLOCK_DETECTED

Deadlock detected

CRITICAL

No

0x0905

THR_MUTEX_LOCK_FAILED

Mutex lock failed

ERROR

Yes

0x0906

THR_CONDITION_TIMEOUT

Condition wait timeout

WARNING

Yes

0x0907

THR_SYNCHRONIZATION_ERROR

Synchronization error

ERROR

Yes

0x0908

THR_CONTEXT_SWITCH_FAILED

Context switch failed

ERROR

Yes

0x0909

THR_PRIORITY_SET_FAILED

Thread priority set failed

WARNING

Yes

0x090A

THR_AFFINITY_SET_FAILED

Thread affinity set failed

WARNING

Yes


CONFIG ERRORS (0x0AXX)

Code
Name
Description
Severity
Recoverable

0x0A01

CFG_INIT_FAILED

Configuration init failed

ERROR

Yes

0x0A02

CFG_LOAD_FAILED

Configuration load failed

WARNING

Yes

0x0A03

CFG_SAVE_FAILED

Configuration save failed

WARNING

Yes

0x0A04

CFG_PARSE_ERROR

Configuration parse error

WARNING

Yes

0x0A05

CFG_INVALID_VALUE

Invalid configuration value

WARNING

Yes

0x0A06

CFG_MISSING_KEY

Missing configuration key

WARNING

Yes

0x0A07

CFG_SCHEMA_MISMATCH

Schema mismatch

WARNING

Yes

0x0A08

CFG_CORRUPTED

Configuration corrupted

WARNING

Yes

0x0A09

CFG_VERSION_INCOMPATIBLE

Incompatible config version

WARNING

Yes

0x0A0A

CFG_VALIDATION_FAILED

Validation failed

WARNING

Yes


GRAPHICS ERRORS (0x0BXX)

Code
Name
Description
Severity
Recoverable

0x0B01

GFX_DEVICE_CREATION_FAILED

Graphics device creation failed

CRITICAL

No

0x0B02

GFX_CONTEXT_CREATION_FAILED

Graphics context creation failed

CRITICAL

No

0x0B03

GFX_SWAPCHAIN_CREATION_FAILED

Swapchain creation failed

CRITICAL

No

0x0B04

GFX_SHADER_COMPILATION_FAILED

Shader compilation failed

ERROR

Yes

0x0B05

GFX_BUFFER_CREATION_FAILED

Buffer creation failed

ERROR

Yes

0x0B06

GFX_TEXTURE_LOAD_FAILED

Texture load failed

WARNING

Yes

0x0B07

GFX_RENDER_TARGET_INVALID

Render target invalid

ERROR

Yes

0x0B08

GFX_VIEWPORT_INVALID

Viewport invalid

WARNING

Yes

0x0B09

GFX_DRIVER_CRASH

Graphics driver crash

CRITICAL

No

0x0B0A

GFX_OUT_OF_VRAM

Out of video memory

WARNING

Yes

0x0B0B

GFX_UNSUPPORTED_FORMAT

Unsupported graphics format

ERROR

No

0x0B0C

GFX_PRESENT_FAILED

Frame present failed

ERROR

Yes


LUA ERRORS (0x0CXX)

Code
Name
Description
Severity
Recoverable

0x0C01

LUA_INIT_FAILED

Lua initialization failed

ERROR

Yes

0x0C02

LUA_SCRIPT_LOAD_FAILED

Script load failed

WARNING

Yes

0x0C03

LUA_SYNTAX_ERROR

Lua syntax error

WARNING

No

0x0C04

LUA_RUNTIME_ERROR

Lua runtime error

WARNING

Yes

0x0C05

LUA_STACK_OVERFLOW

Lua stack overflow

ERROR

Yes

0x0C06

LUA_MEMORY_ERROR

Lua memory error

ERROR

Yes

0x0C07

LUA_TYPE_ERROR

Lua type error

WARNING

No

0x0C08

LUA_API_ERROR

Lua API error

WARNING

Yes

0x0C09

LUA_ENVIRONMENT_CORRUPTED

Lua environment corrupted

ERROR

Yes

0x0C0A

LUA_LIBRARY_MISSING

Lua library missing

WARNING

Yes


GENERIC ERRORS (0xFFXX)

Code
Name
Description
Severity
Recoverable

0xFF00

UNKNOWN_ERROR

Unknown error occurred

ERROR

Yes

0xFF01

GENERIC_FAILURE

Generic failure

ERROR

Yes

0xFF02

NOT_IMPLEMENTED

Feature not implemented

WARNING

No

0xFF03

INTERNAL_ERROR

Internal error

ERROR

Yes


Last updated