| 6 | namespace obe::Engine::Exceptions |
| 7 | { |
| 8 | class BootScriptMissing : public Exception |
| 9 | { |
| 10 | public: |
| 11 | BootScriptMissing(const std::vector<std::string>& mountedPaths, DebugInfo info) |
| 12 | : Exception("BootScriptMissing", info) |
| 13 | { |
| 14 | this->error( |
| 15 | "Unable to find a 'boot.lua' file which is required to start the engine"); |
| 16 | this->hint("ObEngine tried to fetch the 'boot.lua' file from the following " |
| 17 | "locations : ({})", |
| 18 | fmt::join(mountedPaths, ", ")); |
| 19 | } |
| 20 | }; |
| 21 | |
| 22 | class BootScriptLoadingError : public Exception |
| 23 | { |