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

Class UnknownUnit

include/Core/Transform/Exceptions.hpp:45–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 };
44
45 class UnknownUnit : public Exception
46 {
47 public:
48 UnknownUnit(std::string_view unit, DebugInfo info)
49 : Exception("UnknownUnit", info)
50 {
51 this->error("There is no Units named '{}'", unit);
52 this->hint("Try one of these Units : (ScenePixels, SceneUnits, "
53 "ViewPercentage, ViewPixels, ViewUnits)");
54 }
55 };
56
57 class InvalidUnitsEnumValue : public Exception
58 {

Callers 1

stringToUnitsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected