What's Changed
- fixes LP 1580391 by @davecheney in #25
- Print the stack trace when formatting with %+v by @mkmik in #28
- Add forbidden error by @geoffreybauduin in #30
- misspell fix on functions.go by @hiveminded in #31
- Simplify slice definition by @spring1843 in #32
- Update for lander. by @howbazaar in #35
- add timeout err by @gertcuykens in #34
- made getgopath more accurate by @ycliuhw in #36
- typo by @temoto in #37
- fix Err.Format by @rogpeppe in #38
- Fix typo by @spring1843 in #39
- Start comments with the name of the element it describes by @spring1843 in #33
- configurable source trim prefix, default $GOPATH/src by @temoto in #43
- docs: fix typos by @Jason-Cooke in #44
- Introduce QuotaLimitExceeded error by @achilleasa in #45
- Define NotYetAvailable error type by @achilleasa in #48
- Refresh deps and use go 1.17 by @wallyworld in #49
- [JUJU-710] Removes juju/testing from requires. by @tlm in #51
- [JUJU-753] Add
Err.Unwrap
to support standard error library (Go 1.13+) by @barrettj12 in #52 - [JUJU-754] Updates SetLocation functionality to work with mod. by @tlm in #53
- [JUJU-790] Add GitHub Action to run
go test
by @barrettj12 in #55 - [JUJU-759] Change error types to use new ConstError by @barrettj12 in #54
- Fixes panics found in Juju for nil errors. by @tlm in #56
- Independent SetLocation and WithType for errors. by @tlm in #57
- [JUJU-1339] Adds a shush method to the library and IsType. by @tlm in #59
- Adds support for a new convenience function AsType and HasType. by @tlm in #60
New Contributors
- @mkmik made their first contribution in #28
- @geoffreybauduin made their first contribution in #30
- @hiveminded made their first contribution in #31
- @spring1843 made their first contribution in #32
- @gertcuykens made their first contribution in #34
- @ycliuhw made their first contribution in #36
- @temoto made their first contribution in #37
- @Jason-Cooke made their first contribution in #44
- @achilleasa made their first contribution in #45
- @tlm made their first contribution in #51
- @barrettj12 made their first contribution in #52
Full Changelog: https://github.com/juju/errors/commits/v1.0.0