Skip to content

errors: re-export ErrUnsupported from stdlib#161

Merged
dhartunian merged 3 commits into
masterfrom
davidh/add-errunsupported
Jun 18, 2026
Merged

errors: re-export ErrUnsupported from stdlib#161
dhartunian merged 3 commits into
masterfrom
davidh/add-errunsupported

Conversation

@dhartunian

@dhartunian dhartunian commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Re-export errors.ErrUnsupported (added in Go 1.21) from the root errors package for drop-in compatibility with the standard library.

Test plan

  • go build ./... passes
  • go test ./... passes
  • CI passes

This change is Reviewable

dhartunian and others added 3 commits April 22, 2026 17:07
The standard library added errors.ErrUnsupported in Go 1.21. Re-export
it from this package for drop-in compatibility.

Co-Authored-By: roachdev-claude <roachdev-claude-bot@cockroachlabs.com>
@dhartunian dhartunian merged commit 4fc17f8 into master Jun 18, 2026
5 checks passed
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.

2 participants