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

stores-com / http-error
96%

Build:
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 main
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • errors-aggregation
  • from-response-json
  • fromjson
  • main
  • test-consumed-body-error-loss

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

push

github

web-flow
Merge pull request #3 from stores-com/from-response-json

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 main
  • 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
26485791010 main Merge pull request #3 from stores-com/from-response-json Accept an already-parsed body in HttpError.from() (1.2.0) push 27 May 2026 01:47AM UTC web-flow github
96.34
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
26477762191 test-consumed-body-error-loss Add TODO test asserting error messages are lost when response body is pre-consumed HttpError.from() falls back to "200 OK" instead of extracting errors[] when the body has already been read. This documents the gap as a failing TODO test. Co-Auth... push 26 May 2026 10:03PM UTC farhatraiyan github
100.0
25708126656 main aggregate body errors[] into err.message in HttpError.from() For each entry in a parsed-body `errors[]` array, the first present of `message` or `detail` is joined by `; ` and set as `err.message` (replacing the default `"${status} ${statusText}"... push 12 May 2026 01:44AM UTC web-flow github
100.0
25708010537 errors-aggregation drop redundant parenthetical from GraphQL bullet Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Pull #2 12 May 2026 01:40AM UTC freshlogic github
100.0
25707602529 errors-aggregation make from() resilient to consumed bodies, restore example with throw pattern response.clone() throws synchronously when the body has been disturbed, so wrap the body read in try/catch. After a caller does response.json() and then needs to throw o... Pull #2 12 May 2026 01:28AM UTC freshlogic github
100.0
25707603686 errors-aggregation Merge 967f9b825 into a1f9c8a25 Pull #2 12 May 2026 01:28AM UTC web-flow github
100.0
25707489527 errors-aggregation drop code block from errors-in-body section; describe behavior in prose Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Pull #2 12 May 2026 01:25AM UTC freshlogic github
100.0
25707473839 errors-aggregation drop prescriptive wording about when callers should throw Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Pull #2 12 May 2026 01:24AM UTC freshlogic github
100.0
25707399365 errors-aggregation drop title from aggregation fallback JSON:API title is a category/summary that shouldn't change between occurrences, so it's a weak per-instance message. Sticking with message and detail gives clean 2-for-2 coverage of GraphQL and JSON:API. Co-A... Pull #2 12 May 2026 01:22AM UTC freshlogic github
100.0
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