It is nice !!
But I think it would be better anyway to use anonymous enums, because it do not enforce user type to impl From trait and much better match expression
Also anonymous enums is usable for other types as &[Error | MyError] and so on ...
It is nice !!
But I think it would be better anyway to use anonymous enums, because it do not enforce user type to impl From trait and much better match expression
Also anonymous enums is usable for other types as &[Error | MyError] and so on ...