git/dew/main
issues/0001-wrap-errors-with-w-instead-of-v.md
11 lines457 B last change raw · source · history

title: wrap errors with %w instead of %v status: open labels: [good-first-issue, refactor] created: 2026-09-18 closed:


Every fmt.Errorf in the codebase formats the wrapped error with %v, so nothing is unwrappable and callers can't use errors.Is/errors.As. A mechanical pass to %w would make the error chains actually useful.

Files: actions.go, config.go, main.go, task.go, tui.go. Good place to start if you're new to the code.