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