Releases: pingcap/errors
Releases · pingcap/errors
v0.11.4
v0.11.3
v0.11.2
v0.11.1
0.10.0
pingcap/errors v0.9.0
This maintains backwards compatibility with v0.8.0. It does fix a bug where Cause()
could return nil.
- add compatability adaptor methods from juju/errors
- stack traces
- Only create one stack trace. Use the new functions AddStack and Annotate/Annotatef, which only adds a stack if there is not one already
- add NewStack() function for generating a stack trace
- GetStackTacer() and HasStack() helpers are exported
- The StackTracer interface is exported
- Multi errors
- WalkDeep: traverse an error chain with support the Errors() interface for multi errors
- export an ErrorGroup interface