This repository has been archived by the owner on Dec 1, 2021. It is now read-only.
errors 0.8.1
pkg/errors 0.8.1 is a bug fix release for errors 0.8.0. It will be the last version to support Go 1.8 and below. pkg/errors 0.9 and above will require Go 1.9 for the new runtime.CallersFrames
API.
pkg/errors 0.8.1 also adds one new feature, errors.WithMessagef
. Ideally this would be held over til 0.9, but that complicates the switch to runtime.CallersFrames
.
Improvements
- Added
errors.WithMessagef
. Thanks @chemicL.
Bugs fixed
.travis.yml
. Adjust Go versions. Thanks @AlekSi, @dvrkps, @HaraldNordgren, and @komuw- Fixed gofmt. Thanks @tariq1890
- Copyedit the package documentation. Thanks @seh, @TomSweeneyRedHat, @nicksnyder, and @beono
- Remove unreachable code. Thanks @philoserf and @haya14busa
- Move benchmark error sink to global variable. Thanks @bradleyfalzon
- Fix minor newline consistency issues in test files. Thanks @nmiyake
- Add doc comment for exported Format func. Thanks @mrhwick and @ihrwein