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

feat: add status and statusText to fetch errors #152

Merged
merged 6 commits into from
Oct 27, 2022
Merged

feat: add status and statusText to fetch errors #152

merged 6 commits into from
Oct 27, 2022

Conversation

danielroe
Copy link
Member

No description provided.

@danielroe danielroe added the enhancement New feature or request label Oct 27, 2022
@danielroe danielroe requested a review from pi0 October 27, 2022 08:36
@danielroe danielroe self-assigned this Oct 27, 2022
@codecov
Copy link

codecov bot commented Oct 27, 2022

Codecov Report

Merging #152 (d700bdb) into main (456081c) will increase coverage by 0.18%.
The diff coverage is 100.00%.

❗ Current head d700bdb differs from pull request most recent head 7170bf7. Consider uploading reports for the commit 7170bf7 to get more accurate results

@@            Coverage Diff             @@
##             main     #152      +/-   ##
==========================================
+ Coverage   85.53%   85.71%   +0.18%     
==========================================
  Files           5        5              
  Lines         311      315       +4     
  Branches       60       60              
==========================================
+ Hits          266      270       +4     
  Misses         45       45              
Impacted Files Coverage Δ
src/error.ts 96.66% <100.00%> (+0.51%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@danielroe danielroe changed the title feat: add statusCode to fetch errors feat: add status and statusText to fetch errors Oct 27, 2022
src/error.ts Show resolved Hide resolved
Co-authored-by: Daniel Roe <daniel@roe.dev>
src/error.ts Show resolved Hide resolved
@pi0 pi0 merged commit 784a7c0 into main Oct 27, 2022
@pi0 pi0 deleted the feat/code branch October 27, 2022 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants