Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

variant errors on top-level errors mask real error #19

Open
guybedford opened this issue May 2, 2023 · 0 comments
Open

variant errors on top-level errors mask real error #19

guybedford opened this issue May 2, 2023 · 0 comments

Comments

@guybedford
Copy link
Collaborator

When using say a restricted error variant, throwing an unsupported error will be masked by the "invalid variant" error in the bindings.

In componentize bindings, we should specially handle invalid error variants at the top-level to be able to provide better debugging output.

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

No branches or pull requests

1 participant