Exception: Winproc::OSError
- Defined in:
- lib/winproc.rb,
ext/winproc/winproc.c
Overview
A Windows API failure carries the originating error code (GetLastError / the failing return), set on the exception in C.
Direct Known Subclasses
AccessDenied, BrokenPipe, Canceled, ElevationRequired, NotFound, PrivilegeNotHeld, Unsupported
Instance Method Summary collapse
Instance Method Details
#code ⇒ Object
23 24 25 |
# File 'lib/winproc.rb', line 23 def code @code end |