author | František Kučera <franta-hg@frantovo.cz> |
Mon, 13 Aug 2018 20:38:41 +0200 | |
branch | v_0 |
changeset 3 | 88e1bb50d00c |
child 6 | 114521cca04a |
permissions | -rw-r--r-- |
#pragma once #include <string> #include <relpipe/cli/CLI.h> using namespace std; namespace relpipe { namespace cli { /** * TODO: move to relpipe-lib-cli (a common header-only library) */ class RelpipeCLIException { private: wstring message; int exitCode = CLI::EXIT_CODE_UNEXPECTED_ERROR; public: RelpipeCLIException(wstring message, int exitCode) : message(message), exitCode(exitCode) { } wstring getMessge() { return message; } int getExitCode() { return exitCode; } }; } }