mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2024-11-08 13:11:54 +00:00
5898c861ec
Also implement the current folder menu
23 lines
No EOL
459 B
C
23 lines
No EOL
459 B
C
#pragma once
|
|
#include <utils/types.h>
|
|
|
|
typedef struct {
|
|
u16 err;
|
|
u16 loc;
|
|
char* file;
|
|
} ErrCode_t;
|
|
|
|
enum {
|
|
TE_ERR_UNIMPLEMENTED = 15,
|
|
TE_EXCEPTION_RESET,
|
|
TE_EXCEPTION_UNDEFINED,
|
|
TE_EXCEPTION_PREF_ABORT,
|
|
TE_EXCEPTION_DATA_ABORT,
|
|
TE_ERR_SAME_LOC,
|
|
TE_ERR_KEYDUMP_FAIL,
|
|
TE_ERR_PARTITION_NOT_FOUND,
|
|
TE_ERR_PATH_IN_PATH,
|
|
};
|
|
|
|
#define newErrCode(err) (ErrCode_t) {err, __LINE__, __FILE__}
|
|
void DrawError(ErrCode_t err); |