Skip to content

Conversation

@matdurand
Copy link
Contributor

In order to simplify the interface, the New and Wrap now return a standard error. Also, we fix the differences in frame skipping when using errors directly or the builder.

This changes the interface quite a bit, so it's a major version bump.

@matdurand matdurand force-pushed the feat/uniform-error-interface branch from 3ee7995 to f019a45 Compare November 4, 2023 15:20
@codecov
Copy link

codecov bot commented Nov 4, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (7b2732e) 100.00% compared to head (70cfd65) 99.30%.

❗ Current head 70cfd65 differs from pull request most recent head 5dbc90e. Consider uploading reports for the commit 5dbc90e to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##              main      #12      +/-   ##
===========================================
- Coverage   100.00%   99.30%   -0.70%     
===========================================
  Files            3        5       +2     
  Lines          296      286      -10     
===========================================
- Hits           296      284      -12     
- Misses           0        1       +1     
- Partials         0        1       +1     
Files Coverage Δ
builder.go 100.00% <100.00%> (ø)
meta.go 100.00% <100.00%> (ø)
options.go 100.00% <100.00%> (ø)
writer.go 100.00% <100.00%> (ø)
errors.go 98.60% <96.07%> (-1.40%) ⬇️

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

@matdurand matdurand force-pushed the feat/uniform-error-interface branch 7 times, most recently from 70cfd65 to 67503a6 Compare November 4, 2023 15:54
In order to simplify the interface, the New and Wrap now return a
standard `error`. Also, we fix the differences in frame skipping when
using errors directly or the builder.

This changes the interface quite a bit, so it's a major version bump.
@matdurand matdurand force-pushed the feat/uniform-error-interface branch from 67503a6 to 5dbc90e Compare November 4, 2023 17:25
@matdurand matdurand merged commit fb77261 into main Nov 4, 2023
@matdurand matdurand deleted the feat/uniform-error-interface branch November 4, 2023 17:27
@matdurand matdurand restored the feat/uniform-error-interface branch December 31, 2024 17:42
@matdurand matdurand deleted the feat/uniform-error-interface branch December 31, 2024 17:47
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