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

Class ObjectDefinitionBlockNotFound

include/Core/Script/Exceptions.hpp:41–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected