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 ExistStack: Add a public method to determine if the error has been appended to the stack. #239

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.

wbflooksky commented 3 years ago

fix: https://github.com/pkg/errors/issues/210

wbflooksky commented 3 years ago

fix: https://github.com/pkg/errors/issues/102

wbflooksky commented 3 years ago

@puellanivis already fix

davecheney commented 3 years ago

Thank you for this but I do not intend to merge it. I encourage you to fork the package to add additional methods. Thank you