1 #ifndef GIRERR_HPP_INCLUDED
2 #define GIRERR_HPP_INCLUDED
7 #define HAVE_GIRERR_ERROR
11 class error : public std::exception {
13 error(std::string const& what_arg) : _what(what_arg) {}
18 what() const throw() { return this->_what.c_str(); };
24 // throwf() always throws a girerr::error .
27 throwf(const char * const format, ...);