diff options
| author | ShadowNinja <shadowninja@minetest.net> | 2013-12-18 16:35:55 -0500 |
|---|---|---|
| committer | ShadowNinja <shadowninja@minetest.net> | 2013-12-18 16:35:55 -0500 |
| commit | 49cec3f78240ed6310a9b5dd05ce09a79ed5a12e (patch) | |
| tree | 38e8199e49906357939e74b6ed0b00f6f54de976 /src/server.h | |
| parent | 38d112033b3ba0ea0360fced334a279576aafc5d (diff) | |
| download | minetest-49cec3f78240ed6310a9b5dd05ce09a79ed5a12e.tar.xz | |
Handle LuaErrors in Lua -> C++ calls on LuaJIT
Diffstat (limited to 'src/server.h')
| -rw-r--r-- | src/server.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/server.h b/src/server.h index e71a811ea..28678f59c 100644 --- a/src/server.h +++ b/src/server.h @@ -55,23 +55,6 @@ class ServerEnvironment; struct SimpleSoundSpec; -class ServerError : public std::exception -{ -public: - ServerError(const std::string &s) - { - m_s = "ServerError: "; - m_s += s; - } - virtual ~ServerError() throw() - {} - virtual const char * what() const throw() - { - return m_s.c_str(); - } - std::string m_s; -}; - /* Some random functions */ |
