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

Class UnknownAnimationPlayMode

include/Core/Animation/Exceptions.hpp:11–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9namespace obe::Animation::Exceptions
10{
11 class UnknownAnimationPlayMode : public Exception
12 {
13 public:
14 UnknownAnimationPlayMode(std::string_view playMode, DebugInfo info)
15 : Exception("UnknownAnimationPlayMode", info)
16 {
17 this->error(
18 "Unable to convert the string '{}' to an AnimationPlayMode", playMode);
19 this->hint("Try one of the following values : (OneTime, Loop, Force)");
20 }
21 };
22
23 class UnknownAnimationGroup : public Exception
24 {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected