EleFits
4.0.1
A modern C++ API on top of CFitsIO
|
#include <FitsError.h>
Exception thrown if a value lies out of given bounds.
Public Member Functions | |
OutOfBoundsError (const std::string &prefix, long value, std::pair< long, long > bounds) | |
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, long value, std::pair< long, long > bounds) |
Throw if a value lies out of given bounds, included. | |