das2C
das core C utilities (v3)
Loading...
Searching...
No Matches
spice.h
Go to the documentation of this file.
1
3#include <das3/datum.h>
4
5#ifndef _das2_spice_H_
6#define _das2_spice_H_
7
19
20
29const char* das_get_spice_error();
30
31
32#define DAS2_EXCEPT_NO_DATA_IN_INTERVAL "NoDataInInterval"
33#define DAS2_EXCEPT_ILLEGAL_ARGUMENT "IllegalArgument"
34#define DAS2_EXCEPT_SERVER_ERROR "ServerError"
35
36
54int das_send_spice_err(int nDasVer, const char* sErrType);
55
61int das_print_spice_error(const char* sProgName);
62
65#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.
const char * das_get_spice_error()
Get a spice error as string.
void das_spice_err_setup()
Setup spice so that errors are not automatically output to the standard output channel.