EleFits  4.0.0
A modern C++ API on top of CFitsIO

◆ CfitsioError() [2/2]

Euclid::Cfitsio::CfitsioError::CfitsioError ( int  cfitsioStatus,
fitsfile *  fptr,
const std::string context 
)

Create a CfitsioError.

Parameters
cfitsioStatusThe CFitsIO error status
fptrThe fitsfile pointer to provide informations on the file
contextA more human-friendly message to explain the error context

Prints the context, then some file metadata, and then the CFitsIO error stack.