Skip to content

Conversation

@KonaeAkira
Copy link
Owner

Returning an enum instead of a string literal for errors makes it easier for crate consumers to specify their own error messages.

This also makes it easier for Raphael to add localizations for error messages in case it wants to start displaying error messages.

@cloudflare-workers-and-pages
Copy link

Deploying raphael-rs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 311a299
Status: ✅  Deploy successful!
Preview URL: https://e22a8403.raphael-rs.pages.dev
Branch Preview URL: https://feat-simulator-error-enum.raphael-rs.pages.dev

View logs

@KonaeAkira KonaeAkira merged commit 64d9c8c into preview Feb 1, 2026
4 checks passed
@KonaeAkira KonaeAkira deleted the feat/simulator-error-enum branch February 1, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant