pub fn parse_url(value: &str, context: &str) -> Result<Url>Expand description
Parses a URL and maps parser failures into UtilsError.
The parser requires an absolute URL. The context is included verbatim in the error message so
callers can name the field or operation that supplied the value, then map UtilsError into
their own validation or configuration error category at the application boundary.