Nom errors over bytes dont actually implement Error

73 Views Asked by At

I am building a pretty simple parser over &[u8]. Unfortunately, when I try to convert the errors I get into anyhow errors, it informs me that the various nom Error types (nom::error::Error and nom::error::VerboseError) don't implement Display, and thus don't actually implement std::error:Error. Is there anything I can do to make these errors propagate?

0

There are 0 best solutions below