Creates an OSError object from a message and an errorCode.

Source

const OSError([this.message = "", this.errorCode = noErrorCode]);