libsavgba
A library to access various backup media in GBA cartridges
err_def.h
Go to the documentation of this file.
1 #ifndef ERR_DEF_H
2 #define ERR_DEF_H
3 
4 enum ErrorCode {
5  E_SUCCESS = 0,
11 };
12 
18 extern const char * const SavErrCodes[];
19 
25 extern const char * const SavErrMsgs[];
26 
27 #endif /* ERR_DEF_H */
const char *const SavErrMsgs[]
Error messages.
ErrorCode
Definition: err_def.h:4
@ E_TIMEOUT
Operation timeout.
Definition: err_def.h:10
@ E_VERIFY_FAIL
Failed to verify written data.
Definition: err_def.h:8
@ E_UNSUPPORTED_DEVICE
Device type is not supported.
Definition: err_def.h:9
@ E_SUCCESS
No error.
Definition: err_def.h:5
@ E_OUT_OF_RANGE
Address is out of range.
Definition: err_def.h:7
@ E_INVALID_PARAM
Invalid input parameter.
Definition: err_def.h:6
const char *const SavErrCodes[]
Error codes.