| 8 | namespace obe::Input::Exceptions |
| 9 | { |
| 10 | class InputButtonInvalidOperation : public Exception |
| 11 | { |
| 12 | public: |
| 13 | InputButtonInvalidOperation(std::string_view inputButtonType, |
| 14 | std::string_view operationType, DebugInfo info) |
| 15 | : Exception("InputButtonInvalidOperation", info) |
| 16 | { |
| 17 | this->error("Tried to do a '{}' operation on an InputButton of type '{}' " |
| 18 | "which is incompatible", |
| 19 | operationType, inputButtonType); |
| 20 | } |
| 21 | }; |
| 22 | |
| 23 | class InvalidInputButtonState : public Exception |
| 24 | { |
no outgoing calls
no test coverage detected