CCfits
2.7
|
FitsError is the exception thrown by non-zero cfitsio status codes. More...
#include <FitsError.h>
Public Member Functions | |
FitsError (int errornum, bool silent=true) | |
ctor for cfitsio exception: translates status code into cfitsio error message |
FitsError is the exception thrown by non-zero cfitsio status codes.
CCfits::FitsError::FitsError | ( | int | errornum, |
bool | silent = true |
||
) |
ctor for cfitsio exception: translates status code into cfitsio error message
The exception prefixes the string "Fits Error: " to the message printed by cfitsio.
errornum | The cfitsio status code produced by the error. |
silent | A boolean controlling the printing of messages |