Closed Enet4 closed 4 years ago
This is an attempt at resolving #111, by treating the error variant Error::NoXPath as a parsing parser::Error. Hence, the Ok(None) case would now become an Err(ParserError(NoXPath)) immediately on Factory::build.
Error::NoXPath
parser::Error
Ok(None)
Err(ParserError(NoXPath))
Factory::build
This is an attempt at resolving #111, by treating the error variant
Error::NoXPath
as a parsingparser::Error
. Hence, theOk(None)
case would now become anErr(ParserError(NoXPath))
immediately onFactory::build
.