Enum ureq::Error [−][src]
pub enum Error { BadUrl(String), UnknownScheme(String), DnsFailed(String), ConnectionFailed(String), TooManyRedirects, BadStatus, BadHeader, Io(Error), BadProxy, BadProxyCreds, ProxyConnect, InvalidProxyCreds, }
Errors that are translated to “synthetic” responses.
Variants
BadUrl(String)
The url could not be understood. Synthetic error 400
.
UnknownScheme(String)
The url scheme could not be understood. Synthetic error 400
.
DnsFailed(String)
DNS lookup failed. Synthetic error 400
.
ConnectionFailed(String)
Connection to server failed. Synthetic error 500
.
Too many redirects. Synthetic error 500
.
A status line we don’t understand HTTP/1.1 200 OK
. Synthetic error 500
.
A header line that couldn’t be parsed. Synthetic error 500
.
Io(Error)
Some unspecified std::io::Error
. Synthetic error 500
.
Proxy information was not properly formatted
Proxy credentials were not properly formatted
Proxy could not connect
Incorrect credentials for proxy
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
impl !UnwindSafe for Error