pub fn build_url( base: &str, path: &str, query: Option<String>, ) -> Result<Uri, ClientError>
Combines the given base URL, relative path, and optional query parameters into a single Uri.