Exception: Winproc::OSError

Inherits:
Error
  • Object
show all
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.

Instance Method Summary collapse

Instance Method Details

#codeObject



23
24
25
# File 'lib/winproc.rb', line 23

def code
  @code
end