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
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.