| 39 | }; |
| 40 | |
| 41 | class ObjectDefinitionBlockNotFound : public Exception |
| 42 | { |
| 43 | public: |
| 44 | ObjectDefinitionBlockNotFound(std::string_view objectType, DebugInfo info) |
| 45 | : Exception("ObjectDefinitionBlockNotFound", info) |
| 46 | { |
| 47 | this->error("Impossible to find a block named '{0}' in " |
| 48 | "Data/GameObjects/{0}/{0}.obj.vili", |
| 49 | objectType); |
| 50 | this->hint("Try to edit Data/GameObjects/{0}/{0}.obj.vili and add a " |
| 51 | "top-level block named {0}", |
| 52 | objectType); |
| 53 | } |
| 54 | }; |
| 55 | |
| 56 | class ScriptFileNotFound : public Exception |
| 57 | { |
no outgoing calls
no test coverage detected