53 #ifndef __GyotoError_H_
54 #define __GyotoError_H_
115 Error(
const std::string m );
132 operator const char * ()
const;
static void setHandler(Gyoto::Error::Handler_t *phandler)
Set application error handler.
const std::string message
Error message.
Definition: GyotoError.h:103
Class for thowing exceptions.
Definition: GyotoError.h:99
std::string get_message() const
Retrieve error message for custom handling of the exception.
Error(const std::string m)
Constructor with an error message.
void Report() const
Print-out error message on standard error.
const int errcode
Error code.
Definition: GyotoError.h:110
int getErrcode() const
Retrieve error code.
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43
void throwError(std::string)
Throw a Gyoto::Error.
void Handler_t(const Error)
Error handler type.
Definition: GyotoError.h:155