search for: cwin32serviceerror

Displaying 1 result from an estimated 1 matches for "cwin32serviceerror".

Did you mean: win32serviceerror
2004 Jan 22
1
code cleanup suggestion - error classes
Currently, most of the modules define an error class of some sort (e.g. cWin32ServiceError). Within the code, the error is raised like this: rb_raise(cWin32ServiceError,ErrorDescription(GetLastError())); It seems logical that, instead of appending the message every time, that we should simply call ErrorDescription(GetLastError()) simply by raising an error (i.e. within the ''i...