summaryrefslogtreecommitdiff
path: root/include/chill_error.hh
diff options
context:
space:
mode:
Diffstat (limited to 'include/chill_error.hh')
-rw-r--r--include/chill_error.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/chill_error.hh b/include/chill_error.hh
index 88e49fc..c5601ae 100644
--- a/include/chill_error.hh
+++ b/include/chill_error.hh
@@ -21,4 +21,8 @@ struct ir_exp_error: public ir_error {
ir_exp_error(const std::string &msg): ir_error(msg){}
};
+struct omega_error: public std::runtime_error {
+ omega_error(const std::string &msg): std::runtime_error(msg){}
+};
+
#endif