Project: mesos
Issue MESOS-5109: Capture the error code in `ErrnoError` and `WindowsError`.
The {{ErrnoError}} and {{WindowsError}} classes simply construct the error string via a mechanism such as {{strerror}}. They should also capture the error code, as it is an essential piece of information for such an error type.
Story points: 2