Searched refs:new_with_cause (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/ |
H A D | config.rs | 240 .map_err(|e| HttpClientError::new_with_cause(ErrorKind::Build, Some(e))), in http() 257 .map_err(|e| HttpClientError::new_with_cause(ErrorKind::Build, Some(e))), in https() 274 .map_err(|e| HttpClientError::new_with_cause(ErrorKind::Build, Some(e))), in all() 367 HttpClientError::new_with_cause(ErrorKind::Build, Some(InvalidCertificate)) in from_pem() 383 .map_err(|e| HttpClientError::new_with_cause(ErrorKind::Build, Some(e)))?; in from_pem() 389 return Err(HttpClientError::new_with_cause( in from_pem()
|
H A D | request.rs | 114 .map_err(|e| HttpClientError::new_with_cause(ErrorKind::Build, Some(e)))?; in url() 133 .map_err(|e| HttpClientError::new_with_cause(ErrorKind::Build, Some(e)))?, in header() 136 .map_err(|e| HttpClientError::new_with_cause(ErrorKind::Build, Some(e)))?, in header() 209 .map_err(|e| HttpClientError::new_with_cause(ErrorKind::Build, Some(e)))?, in multipart() 216 .map_err(|e| HttpClientError::new_with_cause(ErrorKind::Build, Some(e)))?, in multipart()
|
H A D | error.rs | 76 pub(crate) fn new_with_cause<T>(kind: ErrorKind, cause: Option<T>) -> Self in new_with_cause() method
|
/ohos5.0/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/async_impl/downloader/ |
H A D | mod.rs | 190 return Err(HttpClientError::new_with_cause( in limited_download()
|