Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map TryFromIntError to ERROR_INVALID_DATA in windows-result #2851

Merged
merged 3 commits into from
Feb 16, 2024

Conversation

kennykerr
Copy link
Collaborator

Use the more general ERROR_INVALID_DATA rather than E_INVALIDARG, which may be misleading since it can often occur without connection to API argument validation.

@kennykerr kennykerr merged commit b2ce099 into master Feb 16, 2024
65 checks passed
@kennykerr kennykerr deleted the error-invalid-data branch February 16, 2024 19:01
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