Open Easyoakland opened 2 weeks ago
Of course!
Yes definitely possible. Shouldn't be too difficult either. where
clauses should be supported as well.
Although E
in your example would have to be specified to implement the Error
trait. Since all wrapped types are considered source errors. But
Other {
field: E
}
would not.
Thanks for submitting this issue.
Thanks for the crate! I was skeptical before trying, but now I think I won't be using
thiserror
again.It appears
error_set!
doesn't support generics. e.g.would this be possible to add?