aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods/dignodes/textures/dignodes_dig_immediate.png
diff options
context:
space:
mode:
authorHybridDog <3192173+HybridDog@users.noreply.github.com>2021-03-26 20:59:05 +0100
committerGitHub <noreply@github.com>2021-03-26 20:59:05 +0100
commitfc1512cca64ca9e44ed60372355a0cf1f7b2fe09 (patch)
treec91fb3666a340abdd548e0b8296c4bc2f594ef54 /games/devtest/mods/dignodes/textures/dignodes_dig_immediate.png
parent6a26d6d15a9a122681772c29a7f3b0c36ac9c62e (diff)
downloadminetest-fc1512cca64ca9e44ed60372355a0cf1f7b2fe09.tar.gz
minetest-fc1512cca64ca9e44ed60372355a0cf1f7b2fe09.tar.bz2
minetest-fc1512cca64ca9e44ed60372355a0cf1f7b2fe09.zip
Translate chatcommand delay message and replace minetest with core (#11113)
Diffstat (limited to 'games/devtest/mods/dignodes/textures/dignodes_dig_immediate.png')
0 files changed, 0 insertions, 0 deletions
id='n156' href='#n156'>156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175
/*
Minetest-c55
Copyright (C) 2010 celeron55, Perttu Ahola <celeron55@gmail.com>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#ifndef EXCEPTIONS_HEADER
#define EXCEPTIONS_HEADER

#include <exception>

class BaseException : public std::exception
{
public:
	BaseException(const char *s)
	{
		m_s = s;
	}
	virtual const char * what() const throw()
	{
		return m_s;
	}
	const char *m_s;
};

class AsyncQueuedException : public BaseException
{
public:
	AsyncQueuedException(const char *s):
		BaseException(s)
	{}
};

class NotImplementedException : public BaseException
{
public:
	NotImplementedException(const char *s):
		BaseException(s)
	{}
};

class AlreadyExistsException : public BaseException
{
public:
	AlreadyExistsException(const char *s):
		BaseException(s)
	{}
};

class VersionMismatchException : public BaseException
{
public:
	VersionMismatchException(const char *s):
		BaseException(s)
	{}
};

class FileNotGoodException : public BaseException
{
public:
	FileNotGoodException(const char *s):
		BaseException(s)
	{}
};

class SerializationError : public BaseException
{
public:
	SerializationError(const char *s):
		BaseException(s)
	{}
};

class LoadError : public BaseException
{
public:
	LoadError(const char *s):
		BaseException(s)
	{}
};

class ContainerFullException : public BaseException
{
public:
	ContainerFullException(const char *s):
		BaseException(s)
	{}
};

class SettingNotFoundException : public BaseException
{
public:
	SettingNotFoundException(const char *s):
		BaseException(s)
	{}
};

class InvalidFilenameException : public BaseException
{
public:
	InvalidFilenameException(const char *s):
		BaseException(s)
	{}
};

class ProcessingLimitException : public BaseException
{
public:
	ProcessingLimitException(const char *s):
		BaseException(s)
	{}
};

class CommandLineError : public BaseException
{