Skip to content

mcf: expand Error into a proper enum#2119

Merged
tarcieri merged 1 commit intomasterfrom
mcf/error-enum
Dec 24, 2025
Merged

mcf: expand Error into a proper enum#2119
tarcieri merged 1 commit intomasterfrom
mcf/error-enum

Conversation

@tarcieri
Copy link
Copy Markdown
Member

The old error type was a simple unit struct that couldn't express anything.

This replaces it with an enum that can express various error conditions, including Base64 encoding errors, which might be helpful when trying to support a myriad of different Base64 encodings.

The old error type was a simple unit struct that couldn't express
anything.

This replaces it with an enum that can express various error conditions,
including Base64 encoding errors, which might be helpful when trying to
support a myriad of different Base64 encodings.
@tarcieri tarcieri merged commit 838590c into master Dec 24, 2025
18 checks passed
@tarcieri tarcieri deleted the mcf/error-enum branch December 24, 2025 20:27
@tarcieri tarcieri mentioned this pull request Mar 8, 2026
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.

1 participant