mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Fix settings to honor numeric conversion errors
Rename try* non exceptioning functions to *NoEx
This commit is contained in:
@@ -85,6 +85,11 @@ public:
|
||||
SettingNotFoundException(std::string s): BaseException(s) {}
|
||||
};
|
||||
|
||||
class NumericException : public BaseException {
|
||||
public:
|
||||
NumericException(std::string s): BaseException(s) {}
|
||||
};
|
||||
|
||||
class InvalidFilenameException : public BaseException {
|
||||
public:
|
||||
InvalidFilenameException(std::string s): BaseException(s) {}
|
||||
|
Reference in New Issue
Block a user