EleFits  4.0.0
A modern C++ API on top of CFitsIO
Public Member Functions | Static Public Member Functions | List of all members
Euclid::Fits::ReadOnlyError Class Reference

#include <FitsFile.h>

Class Description

Exception thrown if trying to write a read-only file.

Inheritance diagram for Euclid::Fits::ReadOnlyError:
[legend]

Public Member Functions

 ReadOnlyError (const std::string &prefix)
 Constructor. More...
 
- Public Member Functions inherited from Euclid::Fits::FitsError
virtual ~FitsError ()=default
 Destructor.
 
 FitsError (const std::string &message)
 Constructor. More...
 
const char * what () const noexcept override
 Output message.
 
void append (const std::string &line, std::size_t indent=0)
 Append some line to the message. More...
 

Static Public Member Functions

static void mayThrow (const std::string &prefix, FileMode mode)
 Throw if mode is read-only.
 

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