das2C
das core C utilities (v3)
spice.h
Go to the documentation of this file.
1 
3 #ifndef _das2_spice_H_
4 #define _das2_spice_H_
5 
13 
14 
15 #define DAS2_EXCEPT_NO_DATA_IN_INTERVAL "NoDataInInterval"
16 #define DAS2_EXCEPT_ILLEGAL_ARGUMENT "IllegalArgument"
17 #define DAS2_EXCEPT_SERVER_ERROR "ServerError"
18 
19 
37 int das_send_spice_err(int nDasVer, const char* sErrType);
38 
44 int das_print_spice_error(const char* sProgName);
45 
46 
47 #endif /* _das2_spice_H_ */
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_ r...
int das_print_spice_error(const char *sProgName)
Print a spice error to standard output.
void das_spice_err_setup()
Setup spice so that errors are not automatically output to the standard output channel.