Returns the severity of the last CALDB error.
This function returns the severity of the last error to have
occurred when using the CALDB module. It returns one
of three values, which are described below.
The error flag is cleared by calling this routine.
Return values of calGetError().
| 0 |
No error. |
| 1 |
Fatal error. |
| -1 |
A warning. |
The caldb module is not available by default; to use it in a
S-Lang program, it must be loaded using the
S-Lang require() function:
if ( 0 != calGetError() )
vmessage( "The CALDB library reports an error or warning." );
- caldb
-
calcreateinfo,
calfindfile,
calgetdata,
calgetdate,
calgetdetector,
calgeterror,
calgetfilter,
calgetinstrument,
calgetquery,
calgettelescope,
calgettime,
calprintinfo,
calsetdata,
calsetdate,
calsetdetector,
calsetexpression,
calsetfilter,
calsetinstrument,
calsettelescope,
calsettime
- modules
-
caldb
|