Hacker News new | ask | show | jobs
by binary132 218 days ago
obviously the errno should have been obtained at the time of failure and included in the exception, maybe using a simple subclass of std exception. trying to compute information about the failure at handling time is just stupid.