FreeBASIC  0.91.0
error.c File Reference
#include "fb.h"
Include dependency graph for error.c:

Go to the source code of this file.

Functions

static void fb_Die (int err_num, int line_num, const char *mod_name, const char *fun_name)
 
FB_ERRHANDLER fb_ErrorThrowEx (int err_num, int line_num, const char *mod_name, 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)
 
void * fb_ErrorResume (void)
 
void * fb_ErrorResumeNext (void)
 

Variables

static const char * messages []
 

Function Documentation

static void fb_Die ( int  err_num,
int  line_num,
const char *  mod_name,
const char *  fun_name 
)
static

Definition at line 27 of file error.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void* fb_ErrorResume ( void  )

Definition at line 125 of file error.c.

Here is the call graph for this function:

void* fb_ErrorResumeNext ( void  )

Definition at line 141 of file error.c.

Here is the call graph for this function:

FBCALL FB_ERRHANDLER fb_ErrorSetHandler ( FB_ERRHANDLER  newhandler)

Definition at line 113 of file error.c.

FB_ERRHANDLER fb_ErrorThrowAt ( int  line_num,
const char *  mod_name,
void *  res_label,
void *  resnext_label 
)

Definition at line 100 of file error.c.

Here is the call graph for this function:

FB_ERRHANDLER fb_ErrorThrowEx ( int  err_num,
int  line_num,
const char *  mod_name,
void *  res_label,
void *  resnext_label 
)

Definition at line 68 of file error.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const char* messages[]
static
Initial value:
= {
"",
"illegal function call",
"file not found",
"file I/O error",
"out of memory",
"illegal resume",
"out of bounds array access",
"null pointer access",
"no priviledges",
"\"interrupted\" signal",
"\"illegal instruction\" signal",
"\"floating point error\" signal",
"\"segmentation violation\" signal",
"\"termination request\" signal",
"\"abnormal termination\" signal",
"\"quit request\" signal",
"return without gosub",
"end of file"
}

Definition at line 5 of file error.c.