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

Reply via email to