libsavgba
A library to access various backup media in GBA cartridges
Enumerations | Variables
err_def.h File Reference

Go to the source code of this file.

Enumerations

enum  ErrorCode {
  E_SUCCESS = 0 , E_INVALID_PARAM , E_OUT_OF_RANGE , E_VERIFY_FAIL ,
  E_UNSUPPORTED_DEVICE , E_TIMEOUT
}
 

Variables

const char *const SavErrCodes []
 Error codes. More...
 
const char *const SavErrMsgs []
 Error messages. More...
 

Enumeration Type Documentation

◆ ErrorCode

enum ErrorCode
Enumerator
E_SUCCESS 

No error.

E_INVALID_PARAM 

Invalid input parameter.

E_OUT_OF_RANGE 

Address is out of range.

E_VERIFY_FAIL 

Failed to verify written data.

E_UNSUPPORTED_DEVICE 

Device type is not supported.

E_TIMEOUT 

Operation timeout.

Variable Documentation

◆ SavErrCodes

const char* const SavErrCodes[]
extern

Error codes.

Use SavErrCodes[ErrorCode] to get error code names.

◆ SavErrMsgs

const char* const SavErrMsgs[]
extern

Error messages.

Use SavErrMsgs[ErrorCode] to get error code messages.