MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / InputButtonInvalidOperation

Class InputButtonInvalidOperation

include/Core/Input/Exceptions.hpp:10–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8namespace 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 {

Callers 2

getKeyMethod · 0.85
getAxisPositionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected