summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-19 14:47:25 +0300
committerPaul Buetow <paul@buetow.org>2026-05-19 14:47:25 +0300
commitb3ef7bf999023c263744f35ba37e016b8e872830 (patch)
tree17f42bdd283ae58726569991ebab38857c73382e /docs
parent3353000f05ae1492763c33cc1894673dba64326a (diff)
Fix error wrapping in streamer.go to use %w instead of %v
Change fmt.Errorf calls at streamer.go:30 and :36 from %v to %w for the underlying err so callers can use errors.Is/errors.As to inspect the wrapped OS error in addition to ErrNotFound. Go 1.20+ (project is on 1.25) supports multiple %w verbs in a single fmt.Errorf, so both ErrNotFound and the underlying error are now part of the error chain. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions