palantir / conjure-rust

Conjure support for Rust
Apache License 2.0
20 stars 11 forks source link

Provide static access to error names #339

Open sfackler opened 7 months ago

sfackler commented 7 months ago

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.