MCPcopy Create free account
hub / github.com/Alexays/Waybar / errno_error

Method errno_error

src/modules/keyboard_state.cpp:23–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 public:
22 int code;
23 errno_error(int code, const std::string& msg)
24 : std::runtime_error(getErrorMsg(code, msg.c_str())), code(code) {}
25 errno_error(int code, const char* msg) : std::runtime_error(getErrorMsg(code, msg)), code(code) {}
26
27 private:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected