cli/pkg/log
Snider 8b63fa8ecc feat(log): add error creation and log-and-return helpers
Implements issues #129 and #132:

- Add Err struct with Op, Msg, Err, Code fields for structured errors
- Add E(), Wrap(), WrapCode(), NewCode() for error creation
- Add Is(), As(), NewError(), Join() as stdlib wrappers
- Add Op(), ErrCode(), Message(), Root() for introspection
- Add LogError(), LogWarn(), Must() for combined log-and-return

Closes #129
Closes #132

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 01:11:46 +00:00
..
errors.go feat(log): add error creation and log-and-return helpers 2026-02-02 01:11:46 +00:00
errors_test.go feat(log): add error creation and log-and-return helpers 2026-02-02 01:11:46 +00:00
log.go feat: git command, build improvements, and go fmt git-aware (#74) 2026-02-01 10:48:44 +00:00
log_test.go feat(pkg): add standalone log and errors packages 2026-01-30 22:02:40 +00:00
service.go feat(pkg): add standalone log and errors packages 2026-01-30 22:02:40 +00:00