| 54 | }; |
| 55 | |
| 56 | class ScriptFileNotFound : public Exception |
| 57 | { |
| 58 | public: |
| 59 | ScriptFileNotFound(std::string_view objectType, std::string_view objectId, |
| 60 | std::string_view scriptPath, DebugInfo info) |
| 61 | : Exception("ScriptFileNotFound", info) |
| 62 | { |
| 63 | this->error("GameObject '{}' of type '{}' tried to load script file at path " |
| 64 | "'{}' but could not find it", |
| 65 | objectId, objectType, scriptPath); |
| 66 | } |
| 67 | }; |
| 68 | |
| 69 | class WrongSourceAttributeType : public Exception |
| 70 | { |