conjure-rust icon indicating copy to clipboard operation
conjure-rust copied to clipboard

Provide static access to error names

Open sfackler opened this issue 1 year ago • 1 comments

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 avatar Mar 28 '24 20:03 sfackler

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 avatar Jan 06 '25 16:01 sfackler