SystemErrorCode.this

C/unix error are typed as signed ints... Windows' errors are typed DWORD, aka unsigned...

so just passing them straight up will pick the right overload here to set the tag.

  1. this(int errno)
    struct SystemErrorCode
    this
    (
    int errno
    )
  2. this(uint win32)

Meta