EleFits  5.0.0
A modern C++ API on top of CFITSIO
Static Public Member Functions | Public Member Functions | Public Attributes | List of all members
KeywordNotFoundError Struct Reference

#include <Header.h>

Detailed Description

Exception thrown when a keyword is not found.

Static Public Member Functions

static void mayThrow (const std::string &keyword, const Header &header)
 Throw if an HDU misses a given keyword.
 
static void mayThrow (const std::vector< std::string > &keywords, const Header &header)
 Throw if an HDU misses any of given keywords.
 

Public Member Functions

 KeywordNotFoundError (const std::string &keyword)
 Constructor.
 
- Public Member Functions inherited from 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...
 
- Public Member Functions inherited from exception
what (T... args)
 
~exception (T... args)
 
operator= (T... args)
 
exception (T... args)
 

Public Attributes

std::string keyword
 The missing keyword.
 

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