You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If implemented, this could probably replace WrappedErrors(), but it would be a breaking change to return a different type from Unwrap() and would also change the result of errors.Unwrap() on a retry error (as mentioned in #65). I'm not sure what the best approach for compatibility is here but it would be nice to have an API that matches up with the standard library's approach to multi-error unwrapping.
The text was updated successfully, but these errors were encountered:
Go 1.20 released recently, and includes support for wrapping multiple errors.
If implemented, this could probably replace
WrappedErrors()
, but it would be a breaking change to return a different type fromUnwrap()
and would also change the result oferrors.Unwrap()
on a retry error (as mentioned in #65). I'm not sure what the best approach for compatibility is here but it would be nice to have an API that matches up with the standard library's approach to multi-error unwrapping.The text was updated successfully, but these errors were encountered: