summaryrefslogtreecommitdiff
path: root/error.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-12 20:06:06 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-12 20:06:06 -0400
commit7610aec86df0fd5c49303a8ed984f16a0f0b1e1f (patch)
treed1dc8cfc48863aa067203083b2a702d5e4bba907 /error.h
parent02be02011b33051bafd1639c534967c7626fabbb (diff)
downloadledger-7610aec86df0fd5c49303a8ed984f16a0f0b1e1f.tar.gz
ledger-7610aec86df0fd5c49303a8ed984f16a0f0b1e1f.tar.bz2
ledger-7610aec86df0fd5c49303a8ed984f16a0f0b1e1f.zip
added support for interval reporting; changed some option flags
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