Skip to content

Remove redundant word "error" from type name #79410

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 1 commit into from
Feb 21, 2025

Conversation

amartini51
Copy link
Member

@amartini51 amartini51 commented Feb 15, 2025

The other examples in the documentation, here in the standard library and in The Swift Programming Language, use enums for their error type — this seems to be the only example in the docs of an error represented by a struct with a nested error kind. So there isn't a strong precedent from that to tell us which way to do things here, or other places that we should also change to be consistent.

Fixes: rdar://41136833

@amartini51 amartini51 requested a review from a team as a code owner February 15, 2025 01:09
@amartini51
Copy link
Member Author

@swift-ci Please smoke test.

@amartini51 amartini51 changed the title Remove redundant 'error' from type name Remove redundant word "error" from type name Feb 15, 2025
@amartini51
Copy link
Member Author

@swift-ci Please smoke test Windows.

@amartini51 amartini51 merged commit f89472e into swiftlang:main Feb 21, 2025
3 checks passed
@amartini51 amartini51 deleted the error_kind_41136833 branch February 21, 2025 18: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.

2 participants