#include "host.h"#include "danerror.h"#include "tprintf.h"#include "globaloc.h"#include <stdio.h>Go to the source code of this file.
Functions | |
| void | DoError (int Error, const char *Message) |
| void DoError | ( | int | Error, |
| const char * | Message | ||
| ) |
This routine prints the specified error message to stderr. It then jumps to the current error trap. If the error trap stack is empty, the calling program is terminated with a fatal error message.
| Error | error number which is to be trapped |
| Message | pointer to a string to be printed as an error message |
Definition at line 42 of file danerror.cpp.