ErrnoException
Mike Parker via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Feb 28 06:59:22 PST 2016
On Sunday, 28 February 2016 at 13:10:20 UTC, Jirka wrote:
> I have a question about ErrnoException. When I throw it (throw
> new ErrnoException()), won't it overwrite the errno value
> before it can capture it?
Its constructor [1] simply fetches the current errno and gets an
error message from it.
[1]
https://github.com/D-Programming-Language/phobos/blob/master/std/exception.d#L1491
More information about the Digitalmars-d-learn
mailing list