| 5 | namespace obe::Scene::Exceptions |
| 6 | { |
| 7 | class ChildNotInSceneNode : public Exception |
| 8 | { |
| 9 | public: |
| 10 | ChildNotInSceneNode(void* sceneNode, void* child, DebugInfo info) |
| 11 | : Exception("ChildNotInSceneNode", info) |
| 12 | { |
| 13 | this->error("Impossible to remove Movable {} from SceneNode {} as it is not " |
| 14 | "one of its children", |
| 15 | fmt::ptr(sceneNode), fmt::ptr(child)); |
| 16 | } |
| 17 | }; |
| 18 | |
| 19 | class MissingSceneFileBlock : public Exception |
| 20 | { |