| 30 | }; |
| 31 | |
| 32 | class UnknownReferential : public Exception |
| 33 | { |
| 34 | public: |
| 35 | UnknownReferential(std::string_view referential, DebugInfo info) |
| 36 | : Exception("UnknownReferential", info) |
| 37 | { |
| 38 | this->error("'{}' is not a valid known Referential", referential); |
| 39 | this->hint("Try one of these Referentials : (TopLeft, Top, TopRight, Left, " |
| 40 | "Center, Right, BottomLeft, Bottom, BottomRight, " |
| 41 | "Referential<double, double>"); |
| 42 | } |
| 43 | }; |
| 44 | |
| 45 | class UnknownUnit : public Exception |
| 46 | { |