pkg / errors

Simple error handling primitives
https://godoc.org/github.com/pkg/errors
BSD 2-Clause "Simplified" License
8.18k stars 691 forks source link

feat func ExistStack(err error) bool #240

Closed wbflooksky closed 3 years ago

wbflooksky commented 3 years ago

non-intrusive: Add a public method to determine if the error has been appended to the stack. Avoid adding the stack repeatedly for errors.