Go to the source code of this file.
|
enum | _FB_RTERROR {
FB_RTERROR_OK = 0,
FB_RTERROR_ILLEGALFUNCTIONCALL,
FB_RTERROR_FILENOTFOUND,
FB_RTERROR_FILEIO,
FB_RTERROR_OUTOFMEM,
FB_RTERROR_ILLEGALRESUME,
FB_RTERROR_OUTOFBOUNDS,
FB_RTERROR_NULLPTR,
FB_RTERROR_NOPRIVILEDGES,
FB_RTERROR_SIGINT,
FB_RTERROR_SIGILL,
FB_RTERROR_SIGFPE,
FB_RTERROR_SIGSEGV,
FB_RTERROR_SIGTERM,
FB_RTERROR_SIGABRT,
FB_RTERROR_SIGQUIT,
FB_RTERROR_RETURNWITHOUTGOSUB,
FB_RTERROR_ENDOFFILE,
FB_RTERROR_MAX
} |
|
|
FBCALL void | fb_Assert (char *filename, int linenum, char *funcname, char *expression) |
|
FBCALL void | fb_AssertWarn (char *filename, int linenum, char *funcname, char *expression) |
|
FBCALL void | fb_AssertW (char *filename, int linenum, char *funcname, FB_WCHAR *expression) |
|
FBCALL void | fb_AssertWarnW (char *filename, int linenum, char *funcname, FB_WCHAR *expression) |
|
FB_ERRHANDLER | fb_ErrorThrowEx (int errnum, int linenum, const char *fname, void *res_label, void *resnext_label) |
|
FB_ERRHANDLER | fb_ErrorThrowAt (int line_num, const char *mod_name, void *res_label, void *resnext_label) |
|
FBCALL FB_ERRHANDLER | fb_ErrorSetHandler (FB_ERRHANDLER newhandler) |
|
FBCALL int | fb_ErrorGetNum (void) |
|
FBCALL int | fb_ErrorSetNum (int errnum) |
|
void * | fb_ErrorResume (void) |
|
void * | fb_ErrorResumeNext (void) |
|
FBCALL int | fb_ErrorGetLineNum (void) |
|
FBCALL const char * | fb_ErrorGetModName (void) |
|
FBCALL const char * | fb_ErrorSetModName (const char *mod_name) |
|
FBCALL const char * | fb_ErrorGetFuncName (void) |
|
FBCALL const char * | fb_ErrorSetFuncName (const char *fun_name) |
|
#define FB_ERRMSG_SIZE 1024 |
typedef void(* FB_ERRHANDLER)(void) |
Enumerator |
---|
FB_RTERROR_OK |
|
FB_RTERROR_ILLEGALFUNCTIONCALL |
|
FB_RTERROR_FILENOTFOUND |
|
FB_RTERROR_FILEIO |
|
FB_RTERROR_OUTOFMEM |
|
FB_RTERROR_ILLEGALRESUME |
|
FB_RTERROR_OUTOFBOUNDS |
|
FB_RTERROR_NULLPTR |
|
FB_RTERROR_NOPRIVILEDGES |
|
FB_RTERROR_SIGINT |
|
FB_RTERROR_SIGILL |
|
FB_RTERROR_SIGFPE |
|
FB_RTERROR_SIGSEGV |
|
FB_RTERROR_SIGTERM |
|
FB_RTERROR_SIGABRT |
|
FB_RTERROR_SIGQUIT |
|
FB_RTERROR_RETURNWITHOUTGOSUB |
|
FB_RTERROR_ENDOFFILE |
|
FB_RTERROR_MAX |
|
Definition at line 1 of file fb_error.h.
FBCALL void fb_Assert |
( |
char * |
filename, |
|
|
int |
linenum, |
|
|
char * |
funcname, |
|
|
char * |
expression |
|
) |
| |
FBCALL void fb_AssertW |
( |
char * |
filename, |
|
|
int |
linenum, |
|
|
char * |
funcname, |
|
|
FB_WCHAR * |
expression |
|
) |
| |
FBCALL void fb_AssertWarn |
( |
char * |
filename, |
|
|
int |
linenum, |
|
|
char * |
funcname, |
|
|
char * |
expression |
|
) |
| |
FBCALL void fb_AssertWarnW |
( |
char * |
filename, |
|
|
int |
linenum, |
|
|
char * |
funcname, |
|
|
FB_WCHAR * |
expression |
|
) |
| |
FBCALL const char* fb_ErrorGetFuncName |
( |
void |
) | |
|
FBCALL int fb_ErrorGetLineNum |
( |
void |
) | |
|
FBCALL const char* fb_ErrorGetModName |
( |
void |
) | |
|
FBCALL int fb_ErrorGetNum |
( |
void |
) | |
|
void* fb_ErrorResume |
( |
void |
) | |
|
void* fb_ErrorResumeNext |
( |
void |
) | |
|
FBCALL const char* fb_ErrorSetFuncName |
( |
const char * |
fun_name) | |
|
FBCALL const char* fb_ErrorSetModName |
( |
const char * |
mod_name) | |
|
FBCALL int fb_ErrorSetNum |
( |
int |
errnum) | |
|
FB_ERRHANDLER fb_ErrorThrowAt |
( |
int |
line_num, |
|
|
const char * |
mod_name, |
|
|
void * |
res_label, |
|
|
void * |
resnext_label |
|
) |
| |
FB_ERRHANDLER fb_ErrorThrowEx |
( |
int |
errnum, |
|
|
int |
linenum, |
|
|
const char * |
fname, |
|
|
void * |
res_label, |
|
|
void * |
resnext_label |
|
) |
| |