Skip to content

refactor: replace xerrors.Errorf with fmt.Errorf (#367) - #537

Open
cloudwithpreetham wants to merge 1 commit into
coder:mainfrom
cloudwithpreetham:fix-unified-errorf-367
Open

cloudwithpreetham wants to merge 1 commit into
coder:mainfrom
cloudwithpreetham:fix-unified-errorf-367

Conversation

@cloudwithpreetham

Copy link
Copy Markdown

Description

Unifies error handling to use standard library fmt.Errorf instead of xerrors.Errorf, and removes golang.org/x/xerrors as a direct dependency from go.mod.

Fixes #367.

Testing

  • Verified compilation with go build .
  • Formatted using gofumpt

Unify error handling to standard library fmt.Errorf and remove the
direct dependency on golang.org/x/xerrors.

Fixes coder#367
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix mixed use of fmt.Errorf and xerrors.Errorf

1 participant