![]() |
das2C
das core C utilities (v3)
|
Go to the source code of this file.
Functions | |
void | das_spice_err_setup () |
Setup spice so that errors are not automatically output to the standard output channel. More... | |
int | das_send_spice_err (int nDasVer, const char *sErrType) |
Reads a spice error and outputs it as a das exception, the program should only call this if failed_ returns non-zero, and it should exit after callling this function. More... | |
int | das_print_spice_error (const char *sProgName) |
Print a spice error to standard output. More... | |
void das_spice_err_setup | ( | ) |
Setup spice so that errors are not automatically output to the standard output channel.
Das2 readers (and unix programs in general) are only supposed to output data to standard out, not error messages.
int das_send_spice_err | ( | int | nDasVer, |
const char * | sErrType | ||
) |
Reads a spice error and outputs it as a das exception, the program should only call this if failed_ returns non-zero, and it should exit after callling this function.
nDasVer | - Set to 1 to get das1 compatable output, 2 to get das2 output |
sErrType | - Use one of the predefined strings from the core das2 library: |
int das_print_spice_error | ( | const char * | sProgName | ) |
Print a spice error to standard output.