RelpipeCLIException.h
branchv_0
changeset 21 1f7b203fceab
parent 20 a18b6964d300
child 22 09a5e21b0a8e
--- a/RelpipeCLIException.h	Mon Aug 13 20:31:09 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-#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;
-	}
-
-};
-
-}
-}
\ No newline at end of file