EleFits  5.3.0
A modern C++ API on top of CFITSIO
Loading...
Searching...
No Matches
Static Public Member Functions | Public Member Functions | List of all members
OutOfBoundsError Class Reference

#include <FitsError.h>

Detailed Description

Exception thrown if a value lies out of given bounds.

Static Public Member Functions

static void may_throw (const std::string &prefix, long value, std::pair< long, long > bounds)
 Throw if a value lies out of given bounds, included.
 

Public Member Functions

 OutOfBoundsError (const std::string &prefix, long value, std::pair< long, long > bounds)
 Constructor. More...
 
- Public Member Functions inherited from FitsError
 FitsError (const std::string &message)
 Constructor. More...
 
virtual ~FitsError ()=default
 Destructor.
 
void append (const std::string &line, std::size_t indent=0)
 Append some line to the message. More...
 
const char * what () const noexcept override
 Output message.
 
- Public Member Functions inherited from exception
exception (T... args)
 
~exception (T... args)
 
operator= (T... args)
 
what (T... args)
 

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