| 17 | }; |
| 18 | |
| 19 | class MissingSceneFileBlock : public Exception |
| 20 | { |
| 21 | public: |
| 22 | MissingSceneFileBlock( |
| 23 | std::string_view sceneFile, std::string_view blockName, DebugInfo info) |
| 24 | : Exception("MissingSceneFileBlock", info) |
| 25 | { |
| 26 | this->error("Scene from file '{}' does not have any required <{}> block", |
| 27 | sceneFile, blockName); |
| 28 | this->hint("Add a '{}' block to the Scene file", blockName); |
| 29 | } |
| 30 | }; |
| 31 | |
| 32 | class UnknownGameObject : public Exception |
| 33 | { |