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

Class ObjectDefinitionNotFound

include/Core/Script/Exceptions.hpp:26–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 };
25
26 class ObjectDefinitionNotFound : public Exception
27 {
28 public:
29 ObjectDefinitionNotFound(std::string_view objectType, DebugInfo info)
30 : Exception("ObjectDefinitionNotFound", info)
31 {
32 this->error(
33 "Can't find a GameObject Definition File for GameObjects of type '{}'",
34 objectType);
35 this->hint("Try to check if there is a file named "
36 "GameObject/{0}/{0}.obj.vili",
37 objectType);
38 }
39 };
40
41 class ObjectDefinitionBlockNotFound : public Exception
42 {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected