PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
ps2lib_err.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  _ps2lib_errors {
  E_LIB_ERROR = 1 , E_LIB_FILE_NOT_FOUND = 2 , E_LIB_IO_ERROR = 5 , E_LIB_OUT_OF_MEMORY = 12 ,
  E_LIB_MATH_DOMAIN = 33 , E_LIB_MATH_RANGE = 34 , E_IOP_INTR_CONTEXT = 100 , E_IOP_DEPENDANCY = 200 ,
  E_LF_NOT_IRX = 201 , E_LF_FILE_NOT_FOUND = 203 , E_LF_FILE_IO_ERROR = 204 , E_IOP_NO_MEMORY = 400 ,
  E_LIB_API_INIT = 0xd601 , E_LIB_SEMA_CREATE = 0xd602 , E_LIB_THREAD_CREATE = 0xd603 , E_LIB_THREAD_START = 0xd604 ,
  E_LIB_UNSUPPORTED = 0xd605 , E_LIB_INVALID_ARG = 0xd606 , E_SIF_PKT_ALLOC = 0xd610 , E_SIF_PKT_SEND = 0xd611 ,
  E_SIF_RPC_BIND = 0xd612 , E_SIF_RPC_CALL = 0xd613
}
 

Detailed Description

Error codes shared across ps2lib.

Definition in file ps2lib_err.h.

Enumeration Type Documentation

◆ _ps2lib_errors

Enumerator
E_LIB_ERROR 

Generic (unmapped) error.

E_LIB_FILE_NOT_FOUND 

libc: File not found.

E_LIB_IO_ERROR 

libc: I/O error.

E_LIB_OUT_OF_MEMORY 

libc: No more memory.

E_LIB_MATH_DOMAIN 

libc: Math arg out of domain of func

E_LIB_MATH_RANGE 

libc: Math result not representable

E_IOP_INTR_CONTEXT 

IOP is in exception context.

E_IOP_DEPENDANCY 

inter IRX dependancy error.

E_LF_NOT_IRX 

Invalid IRX module.

E_LF_FILE_NOT_FOUND 

Unable to open executable file.

E_LF_FILE_IO_ERROR 

Error while accessing file.

E_IOP_NO_MEMORY 

IOP is out of memory.

E_LIB_API_INIT 

Unable to initialize library.

E_LIB_SEMA_CREATE 

Couldn't create semaphore.

E_LIB_THREAD_CREATE 

Couldn't create thread.

E_LIB_THREAD_START 

Couldn't execute thread.

E_LIB_UNSUPPORTED 

Unsupported/unimplemented function.

E_LIB_INVALID_ARG 

Invalid argument.

E_SIF_PKT_ALLOC 

Can't allocate SIF packet.

E_SIF_PKT_SEND 

Can't send SIF packet.

E_SIF_RPC_BIND 

Couldn't bind to server.

E_SIF_RPC_CALL 

Couldn't execute RPC call.

Definition at line 35 of file ps2lib_err.h.