summaryrefslogtreecommitdiff
path: root/expr.h
diff options
context:
space:
mode:
Diffstat (limited to 'expr.h')
-rw-r--r--expr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/expr.h b/expr.h
index c81a24df..ab8c07f2 100644
--- a/expr.h
+++ b/expr.h
@@ -36,9 +36,9 @@
namespace ledger {
-DECLARE_EXCEPTION(error, parse_error);
-DECLARE_EXCEPTION(error, compile_error);
-DECLARE_EXCEPTION(error, calc_error);
+DECLARE_EXCEPTION(parse_error, std::runtime_error);
+DECLARE_EXCEPTION(compile_error, std::runtime_error);
+DECLARE_EXCEPTION(calc_error, std::runtime_error);
class scope_t;
class call_scope_t;