diff options
| author | nerzhul <loic.blot@unix-experience.fr> | 2016-05-17 09:59:02 +0200 |
|---|---|---|
| committer | nerzhul <loic.blot@unix-experience.fr> | 2016-05-17 14:36:51 +0200 |
| commit | 8ba6d9f227398d2004d1fe7ae095f5e342dc6d7b (patch) | |
| tree | d6093096aac88f80b807ef3b8fb9048caef72ae0 /src/exceptions.h | |
| parent | 8b940c005fd13db4e611ec49bc44881048b42cf7 (diff) | |
| download | minetest-8ba6d9f227398d2004d1fe7ae095f5e342dc6d7b.tar.xz | |
Implement DatabaseException for databases
Diffstat (limited to 'src/exceptions.h')
| -rw-r--r-- | src/exceptions.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/exceptions.h b/src/exceptions.h index 4f18f70d9..67a2d0df6 100644 --- a/src/exceptions.h +++ b/src/exceptions.h @@ -65,6 +65,11 @@ public: FileNotGoodException(const std::string &s): BaseException(s) {} }; +class DatabaseException : public BaseException { +public: + DatabaseException(const std::string &s): BaseException(s) {} +}; + class SerializationError : public BaseException { public: SerializationError(const std::string &s): BaseException(s) {} |
