| 10 | } |
| 11 | |
| 12 | log::IErrorCodeResolver::Strings pmon::util::win::HrErrorCodeProvider::Resolve(const log::ErrorCode& c) const |
| 13 | { |
| 14 | if (const auto s = c.AsSigned()) { |
| 15 | return { |
| 16 | .type = "HRESULT", |
| 17 | .description = GetErrorDescription((HRESULT)*s), |
| 18 | }; |
| 19 | } |
| 20 | return {}; |
| 21 | } |
| 22 | } |
nothing calls this directly
no test coverage detected