We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Error::SerdeJson
1 parent d6a07af commit 3c9be91Copy full SHA for 3c9be91
src/lib.rs
@@ -204,10 +204,12 @@ impl Builder {
204
pub enum Error {
205
/// Error during `minreq` HTTP request
206
#[cfg(feature = "blocking")]
207
- Minreq(::minreq::Error),
208
- /// Error during reqwest HTTP request
+ Minreq(minreq::Error),
+ /// Error during `reqwest` HTTP request
209
#[cfg(feature = "async")]
210
- Reqwest(::reqwest::Error),
+ Reqwest(reqwest::Error),
211
+ /// Error during JSON (de)serialization
212
+ SerdeJson(serde_json::Error),
213
/// HTTP response error
214
HttpResponse {
215
/// The HTTP status code returned by the server.
0 commit comments