• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Coverage calculation for this build was skipped because it contains the same data as another build. See this build for the coverage details.
If you feel that something is wrong here, please contact support.

nicklaw5 / helix / 24290705113
93%
main: 93%

Build:
Build:
LAST BUILD BRANCH: copilot/bugfix-helixclient-eventsub-error
DEFAULT BRANCH: main
Ran 12 Apr 2026 06:41PM UTC
Jobs 1
Files 0
Run time –
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

pending completion
24290705113

Pull #259

github

web-flow
Return non-nil error when Twitch API responds with error body

Add ErrTwitchResponseError sentinel and pullErrorFromResponse helper to
helix.go. All endpoint methods now return a wrapped ErrTwitchResponseError
when the response body contains a non-zero error status field, making it
easier for callers to detect Twitch API errors via the standard error
interface or errors.Is.

Also reset response error fields at the start of each doRequest retry loop
so that a successful retry after a token refresh does not inherit the stale
error state from the preceding 401 response.

Update all test files to conditionally check err only for 2xx responses
or handle the new ErrTwitchResponseError for expected non-2xx responses.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Co-authored-by: nicklaw5 <7908386+nicklaw5@users.noreply.github.com>
Pull Request #259: Return non-nil error when Twitch API responds with an error body
Jobs
ID Job ID Ran Files Coverage
1 24290705113.1 12 Apr 2026 06:41PM UTC 42
92.87
GitHub Action Run
Source Files on build 24290705113
Detailed source file information is not available for this build.
  • Back to Repo
  • Pull Request #259
  • PR Base - v3 (#24313272465)
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