mirror of
https://github.com/apple/swift-nio
synced 2026-11-23 04:34:23 +00:00
If we receive a functions error via `GetLastError`, we can stringify it via `FormatMessage`. Sadly `FormatMessage` isn't auto imported into Swift, which is why we need to use the shim layer.