Skip to content

Conversation

terrytangyuan
Copy link
Member

This fixes the following error lint checks:

comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors

Signed-off-by: Yuan Tang [email protected]

Copy link
Member

@gaocegege gaocegege left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@gaocegege gaocegege merged commit a84af3a into tensorchord:main Jul 12, 2022
@terrytangyuan terrytangyuan deleted the error-wrap branch July 12, 2022 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants