Description
Make errno an explicit argument to ErrnoError. Right now, the constructor to ErrnoError references errno directly, which makes it awkward to pass a custom errno value (you have to set errno globally).
Make errno an explicit argument to ErrnoError. Right now, the constructor to ErrnoError references errno directly, which makes it awkward to pass a custom errno value (you have to set errno globally).