Skip to content

implement interface { Unwrap() []error } for AggregateError#336

Merged
caarlos0 merged 1 commit intocaarlos0:mainfrom
itsabgr-raika:main
Oct 8, 2024
Merged

implement interface { Unwrap() []error } for AggregateError#336
caarlos0 merged 1 commit intocaarlos0:mainfrom
itsabgr-raika:main

Conversation

@itsabgr-raika
Copy link

implement interface { Unwrap() []error } for AggregateError to be compatible with std errors.Join go1.20 without any breaking change
some errors handling packages respect to this interfaces like github.com/itsabgr/ge

…patibility with std errors.Join go1.20 without any breaking change
@codecov
Copy link

codecov bot commented Oct 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (84c7739) to head (08df6e3).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #336   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines          512       514    +2     
=========================================
+ Hits           512       514    +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@caarlos0 caarlos0 merged commit 59284e4 into caarlos0:main Oct 8, 2024
@caarlos0
Copy link
Owner

caarlos0 commented Oct 8, 2024

thanks!

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.

3 participants