| 43 | }; |
| 44 | |
| 45 | class UnknownUnit : public Exception |
| 46 | { |
| 47 | public: |
| 48 | UnknownUnit(std::string_view unit, DebugInfo info) |
| 49 | : Exception("UnknownUnit", info) |
| 50 | { |
| 51 | this->error("There is no Units named '{}'", unit); |
| 52 | this->hint("Try one of these Units : (ScenePixels, SceneUnits, " |
| 53 | "ViewPercentage, ViewPixels, ViewUnits)"); |
| 54 | } |
| 55 | }; |
| 56 | |
| 57 | class InvalidUnitsEnumValue : public Exception |
| 58 | { |