Exception: Wintoast::OSError

Inherits:
Error
  • Object
show all
Defined in:
lib/wintoast.rb,
ext/wintoast/wintoast.cpp

Overview

OS API failure. #code is an Integer: the HRESULT for COM/WinRT, or the Win32 error code for registry calls. Attached in C via rb_iv_set(exc, "@code", ...).

Instance Method Summary collapse

Instance Method Details

#codeObject



29
# File 'lib/wintoast.rb', line 29

def code = @code