Add output_error exception
This commit is contained in:
parent
6e82915975
commit
7c20614079
@ -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)
|
||||
{ ; }
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user