Skip to content

Throw Win32Exception with last error code when Sendinput fails #4

Open
Giorgi wants to merge 1 commit intomichaelnoonan:masterfrom
Giorgi:master
Open

Throw Win32Exception with last error code when Sendinput fails #4
Giorgi wants to merge 1 commit intomichaelnoonan:masterfrom
Giorgi:master

Conversation

@Giorgi
Copy link

@Giorgi Giorgi commented Jun 18, 2013

Throwing Win32Exception exception has an advantage that it won't swallow the error code and it will automatically get the user friendly error message for the error that happened.

See https://blogs.msdn.com/b/adam_nathan/archive/2003/04/25/56643.aspx for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments