Skip to content

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

Open
szokeasaurusrex wants to merge 3 commits into
masterfrom
szokeasaurusrex/non-exhaustive-envelope-error
Open

chore!(types): Make EnvelopeError non-exhaustive#1254
szokeasaurusrex wants to merge 3 commits 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

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)
@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
@szokeasaurusrex
szokeasaurusrex requested a review from Litarnus July 21, 2026 11:58
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]

1 participant