mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2024-09-18 21:13:24 +01:00
15 lines
246 B
C
15 lines
246 B
C
|
#pragma once
|
||
|
#include <utils/types.h>
|
||
|
|
||
|
typedef struct {
|
||
|
u16 err;
|
||
|
u16 loc;
|
||
|
char* file;
|
||
|
} ErrCode_t;
|
||
|
|
||
|
enum {
|
||
|
TE_ERR_UNIMPLEMENTED = 21,
|
||
|
};
|
||
|
|
||
|
#define newErrCode(err) (ErrCode_t) {err, __LINE__, __FILE__}
|
||
|
void DrawError(ErrCode_t err);
|