aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.h')
-rw-r--r--src/error.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/error.h b/src/error.h
index 9264b33..a4f4660 100644
--- a/src/error.h
+++ b/src/error.h
@@ -29,12 +29,18 @@
namespace SciTECO {
-/*
+/**
* Thrown as exception to signify that program
* should be terminated.
*/
class Quit {};
+/**
+ * Thrown as exception to cause a macro to
+ * return or a command-line termination.
+ */
+class Return {};
+
class Error {
gchar *description;
GSList *frames;