| 80 | }; |
| 81 | |
| 82 | class InputButtonAlreadyInCombination : public Exception |
| 83 | { |
| 84 | public: |
| 85 | InputButtonAlreadyInCombination(std::string_view button, DebugInfo info) |
| 86 | : Exception("InputButtonAlreadyInCombination", info) |
| 87 | { |
| 88 | this->error("The same InputButton '{}' can't appear twice in the same " |
| 89 | "InputCondition", |
| 90 | button); |
| 91 | this->hint("If you want to handle more that one state for the same " |
| 92 | "InputButton, create a separate combination"); |
| 93 | } |
| 94 | }; |
| 95 | |
| 96 | class InvalidInputTypeEnumValue : public Exception |
| 97 | { |