summaryrefslogtreecommitdiff
path: root/src/exceptions.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2010-12-14 15:16:49 +0200
committerPerttu Ahola <celeron55@gmail.com>2010-12-14 15:16:49 +0200
commit385dd9917fd4ced23a704f0566779d58f5a6b727 (patch)
treeb9ab78f5adec470d5c0813cf297c2633cfd8efb3 /src/exceptions.h
parentf501cfd799fb156a32df8791fa3b3ad590d3c0d8 (diff)
downloadminetest-385dd9917fd4ced23a704f0566779d58f5a6b727.tar.gz
minetest-385dd9917fd4ced23a704f0566779d58f5a6b727.tar.bz2
minetest-385dd9917fd4ced23a704f0566779d58f5a6b727.zip
settings manager: better default setting handling and updating config file and command line parsing
Diffstat (limited to 'src/exceptions.h')
-rw-r--r--src/exceptions.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/exceptions.h b/src/exceptions.h
index 0f95bd07a..95b9eea97 100644
--- a/src/exceptions.h
+++ b/src/exceptions.h
@@ -124,6 +124,14 @@ public:
{}
};
+class CommandLineError : public BaseException
+{
+public:
+ CommandLineError(const char *s):
+ BaseException(s)
+ {}
+};
+
/*
Some "old-style" interrupts:
*/