Home
last modified time | relevance | path

Searched refs:error (Results 1 - 25 of 133) sorted by relevance

123456

/commonlibrary/rust/ylong_http/ylong_http_client/src/
H A Derror.rs19 use std::{error, io};
29 /// let error = HttpClientError::user_aborted();
37 /// Creates a `UserAborted` error.
53 /// Creates an `Other` error.
60 /// fn error(error: std::io::Error) {
61 /// let other = HttpClientError::other(error);
66 T: Into<Box<dyn error::Error + Send + Sync>>, in other()
99 /// let error = HttpClientError::user_aborted().io_error();
108 /// Check whether the cause of the error i
[all...]
H A Dlib.rs42 mod error; modules
60 pub use error::{ErrorKind, HttpClientError};
76 channel as bounded_channel, error::SendError, unbounded_channel,
103 error::SendError,
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/
H A Derror.rs34 Repr::Custom(ref c) => write!(f, "{:?}: {}", c.kind, c.error), in fmt()
56 error: Box<dyn std::error::Error + Send + Sync>,
59 /// All error types that could be returned during execution.
62 /// Task already shut down error
64 /// Blocking pool thread spawn error
66 /// Creating netpollor thread error
68 /// Task already canceled error
72 /// Panic during execution error
86 ErrorKind::Panic => "panic error",
[all...]
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ssl/
H A Dstream.rs25 use crate::c_openssl::error::ErrorStack;
30 use crate::util::c_openssl::error::VerifyError;
31 use crate::util::c_openssl::error::VerifyKind::PubKeyPinning;
54 let error = ErrorStack::get();
55 if error.errors().is_empty() {
58 Some(InternalError::Ssl(error))
195 // A non-recoverable, fatal error in the SSL library occurred, usually a protocol in read()
196 // error. in read()
202 // Other error. in read()
240 pub(crate) error
[all...]
H A Dssl_base.rs24 use super::error::HandshakeError;
39 use crate::util::c_openssl::error::ErrorStack;
79 let error = stream.get_error(ret);
80 match error.code {
84 error,
89 error,
H A Derror.rs15 use std::error::Error;
21 use crate::c_openssl::error::ErrorStack;
22 use crate::util::c_openssl::error::VerifyError;
161 HandshakeError::Failure(ref s) | HandshakeError::WouldBlock(ref s) => Some(s.error()), in source()
171 write!(f, "Handshake failed: {}", s.error())?; in fmt()
174 write!(f, "Handshake was interrupted: {}", s.error())?; in fmt()
183 use std::error::Error;
186 use crate::util::c_openssl::error::VerifyKind::PubKeyPinning;
187 use crate::util::c_openssl::error::{ErrorStack, VerifyError};
255 "error", in ut_ssl_error_source()
[all...]
H A Dmod.rs15 mod error; modules
23 pub(crate) use error::{InternalError, SslError, SslErrorCode};
/commonlibrary/rust/ylong_http/ylong_http/src/h1/
H A Dmod.rs16 mod error; modules
20 pub(crate) use error::H1Error;
/commonlibrary/rust/ylong_http/ylong_http/src/h2/
H A Dmod.rs55 mod error; modules
63 pub use error::{ErrorCode, H2Error};
/commonlibrary/rust/ylong_http/ylong_http/src/h3/
H A Dmod.rs18 mod error; modules
28 pub use error::{DecodeError, EncodeError, H3Error, H3ErrorCode};
H A Doctets.rs19 use crate::h3::error::CommonError::BufferTooShort;
20 use crate::h3::error::{EncodeError, H3Error};
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/
H A Dmod.rs23 pub(crate) mod error;
38 use error::ErrorStack;
45 /// Automatic loading of the libssl error strings. This option is a default
H A Dbio.rs23 use super::error::ErrorStack;
130 pub(crate) error: Option<io::Error>,
140 state.error.take() in get_state()
162 error: None,
194 state.error = Some(err);
239 $state.error = Some(err);
256 state.error = Some(io::Error::from(io::ErrorKind::InvalidInput));
/commonlibrary/ets_utils/js_concurrent_module/common/helper/
H A Derror_helper.h112 errTitle = "Parameter error. The input parameters are invalid, "; in NewError()
189 static napi_value TranslateErrorEvent(napi_env env, napi_value error) in TranslateErrorEvent() argument
195 napi_coerce_to_string(env, error, &msgValue); in TranslateErrorEvent()
199 napi_value stack = NapiHelper::GetNameProperty(env, error, "stack"); in TranslateErrorEvent()
233 // add error in TranslateErrorEvent()
234 napi_set_named_property(env, obj, "error", error); in TranslateErrorEvent()
239 static napi_value ObjectToError(napi_env env, napi_value error) in ObjectToError() argument
241 napi_value message = NapiHelper::GetNameProperty(env, error, "message"); in ObjectToError()
242 napi_value backtrace = NapiHelper::GetNameProperty(env, error, "backtrac in ObjectToError()
[all...]
/commonlibrary/rust/ylong_json/src/
H A Dlib.rs56 mod error; modules
62 pub use error::{Error, ParseError};
H A Derror.rs20 /// Parsing error.
23 /// Io error.
26 /// Parse number error.
29 /// Utf8 transform error.
32 /// Type transform error.
35 /// Reader error.
36 Reader(Box<dyn std::error::Error>),
38 /// Incorrect serde usage error.
48 /// The specific location and character of the error during parsing.
76 pub(crate) fn new_reader<E: Into<Box<dyn std::error
[all...]
/commonlibrary/rust/ylong_http/ylong_http/src/h3/qpack/format/
H A Dencoder.rs23 use crate::h3::qpack::error::ErrorCode::DecoderStreamError;
24 use crate::h3::qpack::error::QpackError;
691 DecResult::Error(error) => Err(error),
/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/
H A Dreader.rs14 use std::error::Error;
19 use crate::error::HttpClientError;
H A Dpool.rs14 use std::error::Error;
21 use crate::error::{ErrorKind, HttpClientError};
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/mpsc/unbounded/
H A Dmod.rs21 use crate::sync::error::{RecvError, SendError, TryRecvError};
28 use crate::sync::error::RecvTimeoutError;
111 /// An error containing the sent value would be returned if the receiver is
241 /// use ylong_runtime::sync::error::TryRecvError;
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/
H A Derror.rs16 use std::error::Error;
128 use crate::sync::error::{RecvError, RecvTimeoutError, TryRecvError};
H A Dmod.rs17 pub mod error; modules
/commonlibrary/ets_utils/js_concurrent_module/utils/locks/
H A Dlock_request.cpp57 HILOG_FATAL("Internal error: cannot create async work"); in LockRequest()
132 HILOG_FATAL("Internal error: cannot queue async work"); in CallCallbackAsync()
233 HILOG_FATAL("Internal error: unable to handle the AsyncLock timeout"); in TimeoutCallback()
239 std::string error; in TimeoutCallback() local
240 AsyncLockManager::DumpLocksInfoForThread(AsyncLockManager::GetCurrentTid(data->request->env_), error); in TimeoutCallback()
254 data->request->HandleRequestTimeout(std::move(error)); in TimeoutCallback()
278 napi_value error = ErrorHelper::NewError(env_, ErrorHelper::ERR_ASYNCLOCK_TIMEOUT, errorMessage.c_str()); in HandleRequestTimeout() local
279 napi_reject_deferred(env_, deferred_, error); in HandleRequestTimeout()
/commonlibrary/rust/ylong_runtime/ylong_runtime/examples/
H A Dylong_runtime_spawn_panic.rs21 assert_eq!(err.kind(), ylong_runtime::error::ErrorKind::Panic); in main()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/time/
H A Dmod.rs16 mod error; modules

Completed in 11 milliseconds

123456