#Error handling: conflicting implementations of trait `From<CommandErr>`

2 messages · Page 1 of 1 (latest)

thick obsidian
#

I made a parser impl FromStr for Command for my type Command. I wanted to make CommandErr to better signal the errors. I am parsing an u8 for the Command so I did impl From<<u8 as FromStr>::Err> for CommandErr but it doesn't work 😦
I don't see how it's a conflicting implementation

midnight rivet
#

Can you show your code?