| 5 | namespace obe::Transform::Exceptions |
| 6 | { |
| 7 | class PolygonNotEnoughPoints : public Exception |
| 8 | { |
| 9 | public: |
| 10 | PolygonNotEnoughPoints(void* polygon, std::size_t points, DebugInfo info) |
| 11 | : Exception("ChildNotInSceneNode", info) |
| 12 | { |
| 13 | this->error("Polygon at address @{} has only {} points (minimum: 3)", |
| 14 | fmt::ptr(polygon), points); |
| 15 | } |
| 16 | }; |
| 17 | |
| 18 | class PolygonPointIndexOverflow : public Exception |
| 19 | { |