Hacker News new | ask | show | jobs
by guy2345 218 days ago
what about the misreported errno problem?
1 comments

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.