EOS exception now contains the error code.
This commit is contained in:
parent
2ce07042fd
commit
15919b7c98
2 changed files with 7 additions and 5 deletions
|
|
@ -260,6 +260,7 @@ type
|
|||
## system raises.
|
||||
EIO* = object of ESystem ## raised if an IO error occured.
|
||||
EOS* = object of ESystem ## raised if an operating system service failed.
|
||||
errorCode*: int32 ## OS-defined error code describing this error.
|
||||
EInvalidLibrary* = object of EOS ## raised if a dynamic library
|
||||
## could not be loaded.
|
||||
EResourceExhausted* = object of ESystem ## raised if a resource request
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue