You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to create a custom exception that contains additional properties, i.e., not just a message-based exception. I assume I'm supposed to use create_exception!, but I couldn't figure out how to use a custom class with it.
If it is already supported it would be great to document it, otherwise this would be a feature request to support custom data classes for exceptions.
The text was updated successfully, but these errors were encountered:
We have #295 which talks about this and what remaining work to call this feature "complete". Please join the discussion there, it would be great to have some opinions to help finish this off!
I'd like to create a custom exception that contains additional properties, i.e., not just a message-based exception. I assume I'm supposed to use
create_exception!
, but I couldn't figure out how to use a custom class with it.If it is already supported it would be great to document it, otherwise this would be a feature request to support custom data classes for exceptions.
The text was updated successfully, but these errors were encountered: