diff options
Diffstat (limited to 'src/cli/cli_exceptions.h')
-rw-r--r-- | src/cli/cli_exceptions.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cli/cli_exceptions.h b/src/cli/cli_exceptions.h index ed7be3137..38459b8dd 100644 --- a/src/cli/cli_exceptions.h +++ b/src/cli/cli_exceptions.h @@ -34,6 +34,9 @@ class CLI_Usage_Error : public CLI_Error class CLI_Error_Unsupported : public CLI_Error { public: + + CLI_Error_Unsupported(const std::string& msg) : CLI_Error(msg) {} + CLI_Error_Unsupported(const std::string& what, const std::string& who) : CLI_Error(what + " with '" + who + "' unsupported or not available") {} |