1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Create PacketError exception and use it with ACTIVEOBJECT_REMOVE_ADD handler which can be unreliable

This commit is contained in:
Loic Blot 2015-04-03 08:53:31 +02:00
parent 92f20696eb
commit aa340fd857
3 changed files with 24 additions and 15 deletions

View file

@ -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) {}