From 979325946b938be7cbe51f8c20c44e457107979f Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sun, 20 Nov 2016 21:05:01 +0100 Subject: Sugar and prelude extension --- error.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'error.h') diff --git a/error.h b/error.h index 02aafec..e57267c 100644 --- a/error.h +++ b/error.h @@ -17,3 +17,9 @@ public: TypeError(const string &what_arg); TypeError(const char *what_arg); }; + +class FormError : public runtime_error{ +public: + FormError(const string &what_arg); + FormError(const char *what_arg); +}; -- cgit v1.2.3-70-g09d2