Closed
Description
When working with enums for error reporting it would be super useful if the default implementation of Show
for enums could be customized so that you can skip the contained data. For instance if you have a MyError(SomeOtherError)
it is interesting to just get MyError
instead of MyError(SomeOtherError { foo: 42 })
or whatever is contained in there.
Metadata
Metadata
Assignees
Labels
No labels