As I said on IRC, this appears to be slightly more difficult than it seems since (as far as I can tell from the MSDN docs), `FormatMessage` & `GetLastError` are different to `errno` & `strerror`. I don't have a windows computer to be able to test/iterate on this effectively, so I'm punting this to a later PR and/or filing a bug.