summaryrefslogtreecommitdiff
path: root/error.cpp
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2018-08-20 21:53:38 +0200
committerTom Smeding <tom.smeding@gmail.com>2018-08-20 21:53:38 +0200
commit1c42efb1b116287949e59370198cad2df465835d (patch)
tree6c191f0a629b23566763827e73071c523f0d3e2b /error.cpp
Initial
Diffstat (limited to 'error.cpp')
-rw-r--r--error.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/error.cpp b/error.cpp
new file mode 100644
index 0000000..4c737c2
--- /dev/null
+++ b/error.cpp
@@ -0,0 +1,9 @@
+#include "error.h"
+
+
+StopCompetitionError::StopCompetitionError()
+ : runtime_error("StopCompetitionError") {}
+StopCompetitionError::StopCompetitionError(const string &what_arg)
+ : runtime_error(what_arg) {}
+StopCompetitionError::StopCompetitionError(const char *what_arg)
+ : runtime_error(what_arg) {}