go-errors / errors

errors with stacktraces for go
https://godoc.org/github.com/go-errors/errors
MIT License
921 stars 93 forks source link

gh issue #48. clarify Wrap and WrapPrefix doc #49

Closed stevenpelley closed 8 months ago

stevenpelley commented 8 months ago

https://github.com/go-errors/errors/issues/48 update the documentation for Wrap and Wrap Prefix. When the input value is already an *Error it will be returned unmodified and unwrapped.

ConradIrwin commented 8 months ago

Thank you!