ErrnoException.this

this(string msg, string file = null, size_t line = 0) @safe

Constructor which takes an error message. The current global errno value is used as error code.

this(string msg, int errno, string file = null, size_t line = 0) @safe

Constructor which takes an error message and error code.