| 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: |
nothing calls this directly
no outgoing calls
no test coverage detected