summaryrefslogtreecommitdiff
path: root/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'error.h')
-rw-r--r--error.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/error.h b/error.h
index d7a3eb28..5373f473 100644
--- a/error.h
+++ b/error.h
@@ -27,11 +27,18 @@ class compute_error : public error
virtual ~compute_error() throw() {}
};
-class expr_error : public error
+class value_expr_error : public error
{
public:
- expr_error(const std::string& reason) throw() : error(reason) {}
- virtual ~expr_error() throw() {}
+ value_expr_error(const std::string& reason) throw() : error(reason) {}
+ virtual ~value_expr_error() throw() {}
+};
+
+class interval_expr_error : public error
+{
+ public:
+ interval_expr_error(const std::string& reason) throw() : error(reason) {}
+ virtual ~interval_expr_error() throw() {}
};
class format_error : public error