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
{{ message }}
This repository was archived by the owner on Jun 18, 2025. It is now read-only.
Normally you would expect ok to be true, if a type assertion is correct, see e.g.:
https://go.dev/tour/methods/15
However for the FromError method the return value is false, when the underlying type assertion is correct (from docs):


From source:
That's not intuitive and goes against what "ok" means in many other cases in go.
Changing this would ofc. be a breaking change