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
When I want to check if the GetError returns an error, sometimes I want to get nil from it. But, in such case the GetError will return the err as the second returned value. It should be nil as well.
The text was updated successfully, but these errors were encountered:
Describe the bug
Here's sample code:
When I want to check if the
GetError
returns an error, sometimes I want to getnil
from it. But, in such case theGetError
will return theerr
as the second returned value. It should benil
as well.The text was updated successfully, but these errors were encountered: