Alex Clemmer created MESOS-4110:
-----------------------------------
Summary: Implement `WindowsError` to correspond with `ErrnoError`.
Key: MESOS-4110
URL: https://issues.apache.org/jira/browse/MESOS-4110
Project: Mesos
Issue Type: Bug
Components: stout
Reporter: Alex Clemmer
Assignee: Alex Clemmer
In the C standard library, `errno` records the last error on a thread. You can
pretty-print it with `strerror`.
In Stout, we report these errors with `ErrnoError`.
The Windows API has something similar, called `GetLastError()`. The way to
pretty-print this is hilariously unintuitive and terrible, so in this case it
is actually very beneficial to wrap it with something similar to `ErrnoError`,
maybe called `WindowsError`.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)