Skip to content

Provide static access to error names #339

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

Open
sfackler opened this issue Mar 28, 2024 · 1 comment · May be fixed by #420
Open

Provide static access to error names #339

sfackler opened this issue Mar 28, 2024 · 1 comment · May be fixed by #420

Comments

@sfackler
Copy link
Member

Unlike conjure-rust, it's currently hard to tell if a SerializableError is a specific Conjure error type. The error name of a Conjure error is only accessible from an instance of that type, which we don't have.

@sfackler
Copy link
Member Author

sfackler commented Jan 6, 2025

I think this just looks like a breaking change to ErrorType turning fn name() into a static method and adding a few utility methods.

@sfackler sfackler linked a pull request Jan 22, 2025 that will close this issue
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 a pull request may close this issue.

1 participant