| 21 | }; |
| 22 | |
| 23 | class InvalidInputButtonState : public Exception |
| 24 | { |
| 25 | public: |
| 26 | InvalidInputButtonState(std::string_view state, DebugInfo info) |
| 27 | : Exception("InvalidInputButtonState", info) |
| 28 | { |
| 29 | this->error("'{}' is not a valid InputButtonState value", state); |
| 30 | this->hint( |
| 31 | "Try one of the following values : (Idle, Hold, Pressed, Released)"); |
| 32 | } |
| 33 | }; |
| 34 | |
| 35 | class UnknownInputAction : public Exception |
| 36 | { |
no outgoing calls
no test coverage detected