aboutsummaryrefslogtreecommitdiff
path: root/src/exitcodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/exitcodes.h')
-rw-r--r--src/exitcodes.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/exitcodes.h b/src/exitcodes.h
new file mode 100644
index 0000000..00b455c
--- /dev/null
+++ b/src/exitcodes.h
@@ -0,0 +1,9 @@
+#ifndef GRAB_EXITCODES_H
+#define GRAB_EXITCODES_H
+
+/* These values should never be changed! Scripts may depend on them. */
+constexpr int EXIT_NOMATCH = 1;
+constexpr int EXIT_WARNING = 2;
+constexpr int EXIT_FATAL = 3;
+
+#endif /* !GRAB_EXITCODES_H */