parent
5c5388c0a6
commit
f805018461
2 changed files with 2 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ proc raiseOSError*(errorCode: OSErrorCode; additionalInfo = "") {.noinline.} =
|
|||
raise e
|
||||
|
||||
{.push stackTrace:off.}
|
||||
proc osLastError*(): OSErrorCode =
|
||||
proc osLastError*(): OSErrorCode {.sideEffect.} =
|
||||
## Retrieves the last operating system error code.
|
||||
##
|
||||
## This procedure is useful in the event when an OS call fails. In that case
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue