Wrapping an error with `errors.Wrap`, unwrapping it with `errors.Unwrap` returns the whole error and not the base one. Is it intentional? https://play.golang.org/p/baYpfrrvN35
Wrapping an error with
errors.Wrap, unwrapping it witherrors.Unwrapreturns the whole error and not the base one. Is it intentional?https://play.golang.org/p/baYpfrrvN35