#[cfg(doc)]
use super::{Nominatim, types::CountryCodeIso3166_1Alpha2};
pub type Result<T> = std::result::Result<T, Error>;
#[derive(Debug, thiserror::Error)]
pub enum Error {
#[error(transparent)]
UrlParse(#[from] url::ParseError),
#[error(transparent)]
Reqwest(#[from] reqwest::Error),
#[error("unknown ISO 3166-1 alpha-2 country code: {0}")]
Iso3166_1Alpha2Parse(String),
}