Skip to content

gomod: migrate from pkg/errors and stdlib errors to cockroachdb/errors#257

Merged
sravotto merged 1 commit into
mainfrom
sr8_errors
Mar 17, 2026
Merged

gomod: migrate from pkg/errors and stdlib errors to cockroachdb/errors#257
sravotto merged 1 commit into
mainfrom
sr8_errors

Conversation

@sravotto
Copy link
Copy Markdown
Contributor

Replace all imports of github.com/pkg/errors (13 files) and the standard library errors package (9 files) with github.com/cockroachdb/errors, which is a drop-in superset supporting all functions used in the codebase.

Fixes #256

Replace all imports of github.com/pkg/errors (13 files) and the standard
library errors package (9 files) with github.com/cockroachdb/errors, which
is a drop-in superset supporting all functions used in the codebase.

Fixes #256

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@sravotto sravotto marked this pull request as ready for review March 17, 2026 17:12
@sravotto sravotto requested a review from BramGruneir March 17, 2026 17:13
Copy link
Copy Markdown

@BramGruneir BramGruneir left a comment

Choose a reason for hiding this comment

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

LGTM

Next, you should format the code with crlfmt.

@sravotto sravotto merged commit bc0b598 into main Mar 17, 2026
7 checks passed
@sravotto sravotto deleted the sr8_errors branch March 17, 2026 17:49
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.

use "github.com/cockroachdb/errors" instead of pkg/errors

2 participants