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
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
errs, ok := err.(interface{ Unwrap() []error })
^
This is a valid case for me from go 1.20. Seems should be whitelisted.
The text was updated successfully, but these errors were encountered:
I am trying to type assert multiples errors created with
errors.Join
This code results in a warning:
This is a valid case for me from go 1.20. Seems should be whitelisted.
The text was updated successfully, but these errors were encountered: