| 27 | }; |
| 28 | |
| 29 | class InvalidColorName : public Exception |
| 30 | { |
| 31 | public: |
| 32 | InvalidColorName(std::string_view color, DebugInfo info) |
| 33 | : Exception("InvalidColorName", info) |
| 34 | { |
| 35 | this->error( |
| 36 | "Impossible to find a color with the following name : '{}'", color); |
| 37 | } |
| 38 | }; |
| 39 | |
| 40 | class CanvasElementAlreadyExists : public Exception |
| 41 | { |