mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-02-05 13:38:33 +00:00
Extra constructor for own msg
This commit is contained in:
parent
5a41152dbb
commit
fd9dd921a4
@ -38,11 +38,13 @@
|
||||
class fork_throw : public std::runtime_error {
|
||||
public:
|
||||
fork_throw() : std::runtime_error("Fork happened") {}
|
||||
fork_throw(const std::string &msg) : std::runtime_error(msg) {}
|
||||
};
|
||||
|
||||
class unknown_arg_throw : public std::runtime_error {
|
||||
public:
|
||||
unknown_arg_throw() : std::runtime_error("Unknown argumunt given") {}
|
||||
unknown_arg_throw(const std::string &msg) : std::runtime_error(msg) {}
|
||||
};
|
||||
|
||||
void clean_up(void *memtofree1, void* memtofree2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user