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

Use errors and fmt package to wrap errors #33

Merged
merged 1 commit into from Aug 28, 2024
Merged

Use errors and fmt package to wrap errors #33

merged 1 commit into from Aug 28, 2024

Conversation

ghost
Copy link

@ghost ghost commented Aug 2, 2024

Good day,

Thank you for reviewing this PR.

In this PR error wrapping is replaced to use fmt.Errorf with the %w format specifier (introduced in golang 1.13) instead of errors.Wrap which was provided by the github.com/pkg/errors package.

This is a followup from ThreeDotsLabs/watermill#460.

 To wrap errors `fmt.Errorf` with the `%w` format specifier (introduced in golang 1.13) is now used instead of `errors.Wrap` which was provided by the `github.com/pkg/errors` package.
@m110
Copy link
Member

m110 commented Aug 28, 2024

Thank you @boekkooi-terramate!

@m110 m110 merged commit b943418 into ThreeDotsLabs:master Aug 28, 2024
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