• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stores-com / http-error
96%
main: 96%

Build:
Build:
LAST BUILD BRANCH: from-response-json
DEFAULT BRANCH: main
Repo Added 11 Feb 2026 11:56PM UTC
Files 1
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH from-response-json
branch: from-response-json
CHANGE BRANCH
x
Reset
  • from-response-json
  • errors-aggregation
  • fromjson
  • main
  • test-consumed-body-error-loss

27 May 2026 01:45AM UTC coverage: 96.341% (-3.7%) from 100.0%
26485767779

Pull #3

github

freshlogic
Accept an already-parsed body in HttpError.from() (1.2.0)

`from(response, json)` uses a body you've already read instead of re-reading
the response — for a 200 response with an `errors[]` envelope, where the body
is consumed by `response.json()`. `from(response)` is unchanged. The error
still carries the response status and `cause`.

Also reformats the changelog to Keep a Changelog, matching the other packages.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #3: Accept an already-parsed body in HttpError.from() (1.2.0)

15 of 16 branches covered (93.75%)

Branch coverage included in aggregate %.

26 of 28 new or added lines in 1 file covered. (92.86%)

64 of 66 relevant lines covered (96.97%)

5.05 hits per line

Relevant lines Covered
Build:
Build:
66 RELEVANT LINES 64 COVERED LINES
5.05 HITS PER LINE
Source Files on from-response-json
  • Tree
  • List 1
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
26485767779 from-response-json Accept an already-parsed body in HttpError.from() (1.2.0) `from(response, json)` uses a body you've already read instead of re-reading the response — for a 200 response with an `errors[]` envelope, where the body is consumed by `response.json()`.... Pull #3 27 May 2026 01:46AM UTC freshlogic github
96.34
See All Builds (37)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc