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

More And Better cpr Error Codes #1110

Merged
merged 1 commit into from
Sep 22, 2024
Merged

Conversation

COM8
Copy link
Member

@COM8 COM8 commented Sep 20, 2024

As mentioned in #1108 there is a real need for better cpr error codes. The error code is by far to often set to cpr::ErrorCode::INTERNAL_ERROR.

In this PR I'm changing it by adding all missing and relevant curl error codes.

Important

This is a braking change in the sense that some of the existing error codes got renamed in the process.

@COM8 COM8 added this to the CPR 1.11.0 milestone Sep 20, 2024
@COM8 COM8 self-assigned this Sep 20, 2024
@COM8 COM8 merged commit 99f044e into master Sep 22, 2024
96 of 105 checks passed
@COM8 COM8 deleted the feature/better-curl-error-code-handling branch September 22, 2024 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant