Document errorMode. Make it an enum on the Lua side rather than a string.

This commit is contained in:
hispidence 2021-08-16 12:52:06 +01:00
parent 85b26b4238
commit e5d12a56f2
5 changed files with 38 additions and 23 deletions

View file

@ -13,4 +13,4 @@ void ScriptWarn(std::string const& msg);
bool ScriptAssert(bool cond, std::string const& msg, std::optional<ERROR_MODE> forceMode = std::nullopt);
void SetErrorMode(std::string const& mode);
void SetErrorMode(ERROR_MODE mode);