Procs
proc newOSError(errorCode: int32; additionalInfo = ""): ref OSError {.inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
Templates
template initOSError(e: var OSError; errorCode: int32; additionalInfo = "")
- Initializes an OSError object. This is a copy of stdlib's newOSError but perform in-place creation instead. Source Edit