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

refactor(core/errorx): use errors.Join simplify error handle #4289

Merged
merged 1 commit into from
Aug 3, 2024

Conversation

ch3nnn
Copy link
Contributor

@ch3nnn ch3nnn commented Jul 31, 2024

Replace the manual error string concatenation in errorArray.Error() with errors.Join() from the errors package to streamline error formatting.

refer to: #3639

Copy link

codecov bot commented Jul 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.11%. Comparing base (8690859) to head (d712858).
Report is 108 commits behind head on master.

Additional details and impacted files
Files Coverage Δ
core/errorx/batcherror.go 100.00% <100.00%> (ø)

... and 254 files with indirect coverage changes

Replace the manual error string concatenation in errorArray.Error() with errors.Join() from the errors package to streamline error formatting.

(cherry picked from commit b68659d)
@kevwan kevwan force-pushed the refactor/core/errorx branch from 23a00fd to d712858 Compare August 3, 2024 02:31
@kevwan kevwan added this pull request to the merge queue Aug 3, 2024
Merged via the queue into zeromicro:master with commit 8689a62 Aug 3, 2024
6 checks passed
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