Enum warp10::Error [−][src]
pub enum Error {
ApiError(Warp10Response, Option<String>),
HttpError(Error),
HttpUriError(InvalidUri),
HttpBodyError(Error),
IoError(Error),
UrlError(ParseError),
JsonError(Error),
}
Variants
ApiError(Warp10Response, Option<String>)
Tuple Fields of ApiError
0: Warp10Response
1: Option<String>
HttpError(Error)
Tuple Fields of HttpError
0: Error
HttpUriError(InvalidUri)
Tuple Fields of HttpUriError
0: InvalidUri
HttpBodyError(Error)
Tuple Fields of HttpBodyError
0: Error
IoError(Error)
Tuple Fields of IoError
0: Error
UrlError(ParseError)
Tuple Fields of UrlError
0: ParseError
JsonError(Error)
Tuple Fields of JsonError
0: Error
Implementations
Trait Implementations
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
use the Display impl or to_string()
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more