MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / ScriptFileNotFound

Class ScriptFileNotFound

include/Core/Script/Exceptions.hpp:56–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 1

loadGameObjectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected