mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Create PacketError exception and use it with ACTIVEOBJECT_REMOVE_ADD handler which can be unreliable
This commit is contained in:
@@ -70,6 +70,11 @@ public:
|
||||
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) {}
|
||||
|
Reference in New Issue
Block a user