Skip to content

Conversation

@euanh
Copy link
Collaborator

@euanh euanh commented Oct 14, 2024

Motivation

swift-http-types provides enums giving readable names for HTTP error codes. We should use these enums everewhere.

Modifications

Fix a few places where raw HTTP error codes were still being used.

Result

The code is more consistent. No functional change.

Test Plan

Tests continue to pass.

@euanh euanh added the semver/none No version bump required. label Oct 14, 2024
@euanh euanh merged commit 692cb27 into apple:main Oct 14, 2024
16 checks passed
@euanh euanh deleted the use-http-types-error-codes branch October 14, 2024 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/none No version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant