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

Class AnimationTextureIndexOverflow

include/Core/Animation/Exceptions.hpp:36–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 };
35
36 class AnimationTextureIndexOverflow : public Exception
37 {
38 public:
39 AnimationTextureIndexOverflow(std::string_view animation, std::size_t index,
40 std::size_t maximum, DebugInfo info)
41 : Exception("AnimationTextureIndexOverflow", info)
42 {
43 this->error("Tried to access Texture of Animation '{}' at index {} when it "
44 "only contains {} textures",
45 animation, index, maximum);
46 }
47 };
48
49 class AnimationGroupTextureIndexOverflow : public Exception
50 {

Callers 1

Animation.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected