Skip to content

Use native error wrapping#1098

Merged
1 commit merged intooapi-codegen:masterfrom
alexandear-org:error-wrapping
Jul 28, 2023
Merged

Use native error wrapping#1098
1 commit merged intooapi-codegen:masterfrom
alexandear-org:error-wrapping

Conversation

@alexandear
Copy link
Copy Markdown
Contributor

This PR replaces %s with %w when formatting an error.

https://go.dev/blog/go1.13-errors#errors-in-go-113

@ghost ghost merged commit ed70e61 into oapi-codegen:master Jul 28, 2023
@alexandear alexandear deleted the error-wrapping branch July 29, 2023 08:49
debuggerpk pushed a commit to breuHQ/oapi-codegen that referenced this pull request Sep 18, 2023
danicc097 pushed a commit to danicc097/oapi-codegen that referenced this pull request Aug 31, 2024
This pull request was closed.
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