Home
last modified time | relevance | path

Searched refs:err_from_msg (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
H A Dnormalizer.rs68 None => return err_from_msg!(Request, "No host in url"), in format()
145 return err_from_msg!(Request, "Illegal Transfer-Encoding in HTTP/1.0"); in parse()
172 None => err_from_msg!(Request, "Invalid response content-length"), in parse()
203 return err_from_msg!(Request, "Request Uri lack host"); in format_host_value()
H A Ddispatcher.rs554 None => err_from_msg!(Request, "Response Receiver Closed !"), in recv()
586 Poll::Ready(err_from_msg!(Request, "Error receive response !")) in poll_recv()
607 Poll::Ready(err_from_msg!(Request, "Invalid Frame Receiver !")) in poll_recv()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/
H A Dhttp_body.rs84 return err_from_msg!(Request, "Body length is 0 but read extra data"); in new()
136 return Poll::Ready(err_from_msg!(Timeout, "Request timeout")); in poll_trailer()
338 Some(Poll::Ready(err_from_msg!(BodyDecode, "Not eof"))) in read_remaining()
364 return Poll::Ready(err_from_msg!(BodyDecode, "Response body incomplete")); in poll_read_io()
373 Poll::Ready(err_from_msg!(BodyDecode, "Not eof")) in poll_read_io()
459 return Poll::Ready(err_from_msg!(BodyDecode, "Response body incomplete")); in data()
529 return err_from_msg!(BodyDecode, "Invalid chunk body"); in merge_chunks()
H A Dpool.rs151 None if tls => return err_from_msg!(Connect, "The peer does not support http/2."), in conn_h2()
153 return err_from_msg!(Connect, "Alpn negotiate a wrong protocol version.") in conn_h2()
199 err_from_msg!(Connect, "Alpn negotiate a wrong protocol version.") in conn_negotiate()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/conn/
H A Dhttp1.rs118 return err_from_msg!(Request, "Invalid response format"); in request()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/verify/
H A Dpinning.rs99 return err_from_msg!(Build, "uri has no host"); in add()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/config/
H A Dsettings.rs119 return err_from_msg!(Build, "Invalid params"); in new()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/uploader/
H A Dmod.rs279 return Poll::Ready(err_from_msg!(BodyTransfer, "UploadOperator failed")); in upload_op_cov()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/conn/
H A Dhttp1.rs68 return err_from_msg!(Request, "Tcp closed"); in request()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/
H A Derror.rs327 macro_rules! err_from_msg { macro