LuaVoxelManip: Add option to allocate blank data
[oweals/minetest.git] / src / exceptions.h
index 970c68e4027450149d476b829e754dea8dedd01f..abd8c68ae31ee9b0917eb8fd529e6b826a425f16 100644 (file)
@@ -116,10 +116,27 @@ public:
        FatalSystemException(const std::string &s): BaseException(s) {}
 };
 
+class ClientStateError : public BaseException {
+public:
+       ClientStateError(std::string s): BaseException(s) {}
+};
+
 /*
        Some "old-style" interrupts:
 */
 
+class InvalidNoiseParamsException : public BaseException {
+public:
+       InvalidNoiseParamsException():
+               BaseException("One or more noise parameters were invalid or require "
+                       "too much memory")
+       {}
+
+       InvalidNoiseParamsException(const std::string &s):
+               BaseException(s)
+       {}
+};
+
 class InvalidPositionException : public BaseException
 {
 public: