Skip to content

Improve Windows error handling #2263

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

Merged
merged 2 commits into from
May 14, 2019

Conversation

compnerd
Copy link
Member

Correct the Windows error domain and modernise some code.

compnerd added 2 commits May 13, 2019 18:32
Fix the two cases of the Windows error being raised as an errno value
rather than in the Windows error domain which mapped the error
incorrectly.
These predate the time where we had the helper
`_NSErrorWithWindowsError`.  Convert to that to ensure that we have all
Windows errors being raised uniformly.
@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd compnerd merged commit cb7e86b into swiftlang:master May 14, 2019
@compnerd compnerd deleted the i-have-made-a-grave-error branch May 14, 2019 15:40
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