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

added Unwrap() []error to CompositeError #40

Merged
merged 1 commit into from Dec 17, 2023

Conversation

fredbi
Copy link
Member

@fredbi fredbi commented Dec 13, 2023

This allows to use errors.Is() or As() with CompositeError

Copy link

codecov bot commented Dec 13, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a29a5f0) 98.67% compared to head (d08c1d5) 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##           master       #40      +/-   ##
===========================================
+ Coverage   98.67%   100.00%   +1.32%     
===========================================
  Files           6         6              
  Lines         604       606       +2     
===========================================
+ Hits          596       606      +10     
+ Misses          8         0       -8     
Flag Coverage Δ
oldstable ?
stable 100.00% <100.00%> (+1.32%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

This allows to use errors.Is() or As() with CompositeError

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
@fredbi fredbi merged commit 4b8f099 into go-openapi:master Dec 17, 2023
10 checks passed
@fredbi fredbi deleted the feat/added-Unwrap branch December 26, 2023 15:18
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.

None yet

2 participants