How do I get the type of Win32Exception, and classify it into something more specific? The message is only (arguably) good for showing it to the user.
- Should I use
Win32Exception.ErrorCode,Win32Exception.HResult, orWin32Exception.NativeErrorCode? - Are there any built-in enumerations for these codes?