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

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