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

Class CanvasElementAlreadyExists

include/Core/Graphics/Exceptions.hpp:40–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 };
39
40 class CanvasElementAlreadyExists : public Exception
41 {
42 public:
43 CanvasElementAlreadyExists(std::string_view id, std::string_view newElementType,
44 std::string_view existingElementType, DebugInfo info)
45 : Exception("CanvasElementAlreadyExists", info)
46 {
47 this->error("Impossible to create a Canvas::{} with id '{}' as there is "
48 "already a Canvas::{} with the same id");
49 }
50 };
51
52 class InvalidSpriteColorType : public Exception
53 {

Callers 1

Canvas.hppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected