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
{{ message }}
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.
Hi, is it possible to get a reference to the description string in error_chain? I want to do the following for example:
error_chain!{
errors {Foo(details:String){
description("foo happened")
display("{}: {}", description, details)// description should be what is in description(..) above}}}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, is it possible to get a reference to the description string in error_chain? I want to do the following for example:
The text was updated successfully, but these errors were encountered: