| 31 | }; |
| 32 | |
| 33 | class BootScriptExecutionError : public Exception |
| 34 | { |
| 35 | public: |
| 36 | BootScriptExecutionError( |
| 37 | std::string_view functionName, std::string_view errorMessage, DebugInfo info) |
| 38 | : Exception("BootScriptExecutionError", info) |
| 39 | { |
| 40 | this->error( |
| 41 | "Lua error while executing a function named '{}' in 'boot.lua' :\n{}", |
| 42 | functionName, errorMessage); |
| 43 | } |
| 44 | }; |
| 45 | |
| 46 | class TextureNotFound : public Exception |
| 47 | { |