Skip to content

chore!(types): Make EnvelopeError non-exhaustive - #1254

Merged
szokeasaurusrex merged 1 commit into
masterfrom
szokeasaurusrex/non-exhaustive-envelope-error
Jul 27, 2026
Merged

szokeasaurusrex merged 1 commit into
masterfrom
szokeasaurusrex/non-exhaustive-envelope-error

Conversation

@szokeasaurusrex

Copy link
Copy Markdown
Member

BREAKING CHANGE: EnvelopeError is now non-exhaustive, so external code must include a wildcard when matching its variants.

Fixes #1130
Fixes RUST-216

@linear-code

linear-code Bot commented Jul 21, 2026

Copy link
Copy Markdown

RUST-216

@szokeasaurusrex
szokeasaurusrex marked this pull request as ready for review July 21, 2026 11:58
@szokeasaurusrex
szokeasaurusrex requested a review from a team as a code owner July 21, 2026 11:58

@alexander-alderman-webb alexander-alderman-webb left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🚀

BREAKING CHANGE: EnvelopeError is now non-exhaustive, so external code must include a wildcard when matching its variants.

Fixes [#1130](#1130)
Fixes [RUST-216](https://linear.app/getsentry/issue/RUST-216)
@szokeasaurusrex
szokeasaurusrex force-pushed the szokeasaurusrex/non-exhaustive-envelope-error branch from df40f28 to d65533f Compare July 27, 2026 14:17
@szokeasaurusrex
szokeasaurusrex merged commit 3469f21 into master Jul 27, 2026
28 checks passed
@szokeasaurusrex
szokeasaurusrex deleted the szokeasaurusrex/non-exhaustive-envelope-error branch July 27, 2026 15:26
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.

Make EnvelopeError #[non_exhaustive]

2 participants