/commonlibrary/rust/ylong_http/ylong_http_client/src/ |
H A D | error.rs | 19 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 D | lib.rs | 42 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 D | error.rs | 34 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 D | stream.rs | 25 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 D | ssl_base.rs | 24 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 D | error.rs | 15 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 D | mod.rs | 15 mod error; modules 23 pub(crate) use error::{InternalError, SslError, SslErrorCode};
|
/commonlibrary/rust/ylong_http/ylong_http/src/h1/ |
H A D | mod.rs | 16 mod error; modules 20 pub(crate) use error::H1Error;
|
/commonlibrary/rust/ylong_http/ylong_http/src/h2/ |
H A D | mod.rs | 55 mod error; modules 63 pub use error::{ErrorCode, H2Error};
|
/commonlibrary/rust/ylong_http/ylong_http/src/h3/ |
H A D | mod.rs | 18 mod error; modules 28 pub use error::{DecodeError, EncodeError, H3Error, H3ErrorCode};
|
H A D | octets.rs | 19 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 D | mod.rs | 23 pub(crate) mod error; 38 use error::ErrorStack; 45 /// Automatic loading of the libssl error strings. This option is a default
|
H A D | bio.rs | 23 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 D | error_helper.h | 112 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 D | lib.rs | 56 mod error; modules 62 pub use error::{Error, ParseError};
|
H A D | error.rs | 20 /// 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 D | encoder.rs | 23 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 D | reader.rs | 14 use std::error::Error; 19 use crate::error::HttpClientError;
|
H A D | pool.rs | 14 use std::error::Error; 21 use crate::error::{ErrorKind, HttpClientError};
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/mpsc/unbounded/ |
H A D | mod.rs | 21 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 D | error.rs | 16 use std::error::Error; 128 use crate::sync::error::{RecvError, RecvTimeoutError, TryRecvError};
|
H A D | mod.rs | 17 pub mod error; modules
|
/commonlibrary/ets_utils/js_concurrent_module/utils/locks/ |
H A D | lock_request.cpp | 57 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 D | ylong_runtime_spawn_panic.rs | 21 assert_eq!(err.kind(), ylong_runtime::error::ErrorKind::Panic); in main()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/time/ |
H A D | mod.rs | 16 mod error; modules
|