aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.h')
-rw-r--r--src/error.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/error.h b/src/error.h
index a4f4660..f4dbfbf 100644
--- a/src/error.h
+++ b/src/error.h
@@ -39,7 +39,12 @@ class Quit {};
* Thrown as exception to cause a macro to
* return or a command-line termination.
*/
-class Return {};
+class Return {
+public:
+ guint args;
+
+ Return(guint _args = 0) : args(_args) {}
+};
class Error {
gchar *description;