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

JeremyLoy / config / 38208890994
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: feat/sources
DEFAULT BRANCH: master
Ran 12 Oct 2026 05:40AM UTC
Jobs 1
Files 4
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

12 Oct 2026 05:39AM UTC coverage: 97.143% (-0.3%) from 97.419%
38208890994

Pull #17

github

web-flow
feat: return a typed *config.Error with per-field causes

To and Sub now return *config.Error, which lists a *FieldError per failed
field or source, sorted by key. Error() is unchanged, so existing output and
string comparisons keep working.

- Error.Unwrap() []error and FieldError.Unwrap() expose causes to errors.Is
  and errors.AsType: fs.ErrNotExist / *fs.PathError for files,
  strconv.ErrSyntax / strconv.ErrRange for numbers and bools,
  ErrUnsupportedType for fields that cannot be configured, and
  ErrInvalidValue otherwise.
- Causes are sanitized so they never contain the configured value, keeping
  the existing guarantee that errors are safe to log.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NUxivLjodSESTkzRtdQ4CP
Pull Request #17: feat: return a typed *config.Error with per-field causes

37 of 40 new or added lines in 4 files covered. (92.5%)

1 existing line in 1 file now uncovered.

170 of 175 relevant lines covered (97.14%)

35.31 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
94.44
0.0% api.go
1
93.75
errors.go
1
98.02
0.1% util.go

Coverage Regressions

Lines Coverage ∆ File
1
94.44
0.0% api.go
Jobs
ID Job ID Ran Files Coverage
1 38208890994.1 12 Oct 2026 05:40AM UTC 4
97.14
GitHub Action Run
Source Files on build 38208890994
  • Tree
  • List 4
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #17
  • PR Base - modernize/go1.26 (#38208891584)
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