Add output_error exception

This commit is contained in:
Danny Robson 2012-05-16 15:01:21 +10:00
parent 6e82915975
commit 7c20614079

View File

@ -35,6 +35,14 @@ namespace util {
}; };
class output_error : public std::runtime_error {
public:
output_error (const std::string &_what):
runtime_error (_what)
{ ; }
};
class unavailable_error : public std::runtime_error { class unavailable_error : public std::runtime_error {
public: public:
unavailable_error (const std::string &_what): unavailable_error (const std::string &_what):