CCfits  2.6
Public Member Functions | List of all members
CCfits::FitsError Class Reference

FitsError is the exception thrown by non-zero cfitsio status codes. More...

#include <FitsError.h>

Inheritance diagram for CCfits::FitsError:
CCfits::FitsException

Public Member Functions

 FitsError (int errornum, bool silent=true)
 ctor for cfitsio exception: translates status code into cfitsio error message More...
 
- Public Member Functions inherited from CCfits::FitsException
 FitsException (const string &msg, bool &silent)
 
const string & message () const
 returns the error message More...
 

Detailed Description

FitsError is the exception thrown by non-zero cfitsio status codes.

Constructor & Destructor Documentation

◆ FitsError()

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.

Parameters
errornumThe cfitsio status code produced by the error.
silentA boolean controlling the printing of messages

The documentation for this class was generated from the following files: