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

alexferl / zerohttp / 47482650153
94%

Build:
DEFAULT BRANCH: master
Ran 05 Dec 2026 05:13AM UTC
Jobs 1
Files 94
Run time 1min
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

05 Dec 2026 05:12AM UTC coverage: 93.51% (-0.08%) from 93.586%
47482650153

push

github

web-flow
feat: support typed errors in Problem Details responses (#188)

Handlers can now return errors that carry their own RFC 9457 Problem
Details response instead of writing the response themselves.

Add a ProblemDetailer interface. handleHandlerError checks it first, via
errors.As so wrapped errors are found, renders the problem detail, and
logs the underlying error for 5xx responses. A missing or out-of-range
status falls back to the generic 500 response.

Add ProblemError/NewProblemError for callers that want an error value
with a problem detail, and IsProblemDetailError for detection.

Add tests for direct, wrapped, and custom ProblemDetailer errors,
invalid status fallback, extension fields, and end-to-end routing.

Signed-off-by: alexferl <me@alexferl.com>

27 of 37 new or added lines in 2 files covered. (72.97%)

9365 of 10015 relevant lines covered (93.51%)

116.14 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
77.78
errors.go
4
96.08
-0.8% router.go
Jobs
ID Job ID Ran Files Coverage
1 47482650153.1 05 Dec 2026 05:13AM UTC 94
93.51
GitHub Action Run
Source Files on build 47482650153
  • Tree
  • List 94
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #47482650153
  • 478c69c0 on github
  • Prev Build on master (#47480198701)
  • Next Build on master (#47483854578)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc