You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Joris Van Remoortere (JIRA)" <ji...@apache.org> on 2015/12/15 00:45:46 UTC

[jira] [Updated] (MESOS-4110) Implement `WindowsError` to correspond with `ErrnoError`.

     [ https://issues.apache.org/jira/browse/MESOS-4110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joris Van Remoortere updated MESOS-4110:
----------------------------------------
          Sprint: Mesosphere Sprint 24
    Story Points: 5
          Labels: cmake mesosphere stout windows  (was: cmake stout windows)

> 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
>              Labels: cmake, mesosphere, stout, windows
>
> 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)