Closed cheako closed 2 years ago
I figured out that the errors I generate should be "inside" errors. What I have to figure out is how do I pass nom_bufreader::Error<nom::error::Error<&[u8]>>
up the call chain? I need to turn it into an owned value.
Turns out, String
works as a stop gap.
Am I doing something wrong to want this?
impl From<nom::error::Error<&[u8]>> for Error
should be enough? How about this? I'm not really setup for a PR.