]> git.lizzy.rs Git - minetest.git/blobdiff - src/exceptions.h
FormSpec: Add StaticTextSpec and superimpose over item image buttons
[minetest.git] / src / exceptions.h
index 5b716c2ca862691fdf195b946e43fded2dddf62e..4f18f70d97c0ec38db9da8e6ab5bd14204393f44 100644 (file)
@@ -70,6 +70,11 @@ class SerializationError : public BaseException {
        SerializationError(const std::string &s): BaseException(s) {}
 };
 
+class PacketError : public BaseException {
+public:
+       PacketError(const std::string &s): BaseException(s) {}
+};
+
 class LoadError : public BaseException {
 public:
        LoadError(const std::string &s): BaseException(s) {}
@@ -115,6 +120,17 @@ class ClientStateError : public BaseException {
        ClientStateError(std::string s): BaseException(s) {}
 };
 
+class PrngException : public BaseException {
+public:
+       PrngException(std::string s): BaseException(s) {}
+};
+
+class ModError : public BaseException {
+public:
+       ModError(const std::string &s): BaseException(s) {}
+};
+
+
 /*
        Some "old-style" interrupts:
 */