pub enum UrlError {
ParseError(ParseError),
UnsupportedScheme(String),
FeatureRequired(String, String),
InvalidValue(String, String),
UnknownParameter(String),
BadUrl,
}
Variants§
ParseError(ParseError)
UnsupportedScheme(String)
FeatureRequired(String, String)
(feature_name, parameter_name)
InvalidValue(String, String)
(feature_name, value)
UnknownParameter(String)
BadUrl
Trait Implementations§
source§impl Error for UrlError
impl Error for UrlError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
source§impl From<ParseError> for UrlError
impl From<ParseError> for UrlError
source§fn from(x: ParseError) -> UrlError
fn from(x: ParseError) -> UrlError
Converts to this type from the input type.