go-errors / errors

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

Support the hashicorp/errwrap interface? #13

Open wrouesnel opened 7 years ago

wrouesnel commented 7 years ago

This package provides one important part of the golang error handling equation, but I find myself wanting another one which is provided by https://github.com/hashicorp/errwrap which provides an interface for easily handling multiple nested errors.

Would support for this be considered?

waschik commented 3 years ago

Because errwrap uses standard Unwrap-Method which go-errors support the issue might already be resolved: https://github.com/hashicorp/errwrap/blob/7b00e5db719c64d14dd0caaacbd13e76254d02c0/errwrap.go#L153-L155