diff options
Diffstat (limited to 'competition/error.h')
-rw-r--r-- | competition/error.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/competition/error.h b/competition/error.h new file mode 100644 index 0000000..403f81b --- /dev/null +++ b/competition/error.h @@ -0,0 +1,12 @@ +#include <stdexcept> +#include <string> + +using namespace std; + + +class StopCompetitionError : public runtime_error { +public: + StopCompetitionError(); + explicit StopCompetitionError(const string &what_arg); + explicit StopCompetitionError(const char *what_arg); +}; |