shepmaster / sxd-xpath

An XPath library in Rust
Apache License 2.0
119 stars 34 forks source link

Make Factory::build return Result<XPath> #128

Closed Enet4 closed 4 years ago

Enet4 commented 5 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.