Home
last modified time | relevance | path

Searched refs:Error (Results 1 - 25 of 125) sorted by relevance

12345

/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/ipc_conn/
H A Ddatabase.rs21 use crate::ipc_conn::error::Error;
29 pub(crate) type DatabaseStubResult<T> = Result<T, Error>;
66 .map_err(|_| Error::WriteMsgParcelFailed)?;
69 .map_err(|_| Error::WriteMsgParcelFailed)?;
74 .ok_or(Error::GetProxyObjectFailed)?;
78 .map_err(|_| Error::SendRequestFailed)?;
82 .map_err(|_| Error::ReadMsgParcelFailed)?;
109 .map_err(|_| Error::WriteMsgParcelFailed)?;
115 .ok_or(Error::CreateMsgParcelFailed)?;
119 .map_err(|_| Error
[all...]
H A Dasset.rs20 use crate::ipc_conn::error::Error;
25 pub(crate) type AssetLoaderResult<T> = Result<T, Error>;
192 .ok_or(Error::GetProxyObjectFailed)?;
195 .map_err(|_| Error::SendRequestFailed)?;
199 .map_err(|_| Error::ReadMsgParcelFailed)?;
212 ) -> AssetLoaderResult<Vec<Result<CloudAsset, Error>>> {
216 .map_err(|_| Error::WriteMsgParcelFailed)?;
219 .map_err(|_| Error::WriteMsgParcelFailed)?;
222 .map_err(|_| Error::WriteMsgParcelFailed)?;
225 .map_err(|_| Error
[all...]
H A Derror.rs24 pub(crate) struct Errors(pub(crate) Vec<Error>);
28 let result = Errors(vec_raw_read::<Error>(parcel)?); in deserialize()
35 pub enum Error { enum
91 impl Display for Error {
94 Error::Success => write!(f, "Successful"), in fmt()
95 Error::CreateMsgParcelFailed => write!(f, "Creates MsgParcel Failed"), in fmt()
96 Error::WriteMsgParcelFailed => write!(f, "Writes MsgParcel Failed"), in fmt()
97 Error::ReadMsgParcelFailed => write!(f, "Reads MsgParcel Failed"), in fmt()
98 Error::GetProxyObjectFailed => write!(f, "Gets Proxy Object Failed"), in fmt()
99 Error in fmt()
[all...]
H A Dconnect.rs24 use crate::ipc_conn::error::{Error, Errors};
370 type Error = Error; types
372 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from()
382 _ => return Err(Error::InvalidFieldType), in try_from()
534 fn read(&mut self, msg_parcel: &mut MsgParcel) -> Result<(), Error> { in read()
537 .map_err(|_| Error::ReadMsgParcelFailed)? in read()
542 .map_err(|_| Error::ReadMsgParcelFailed)?; in read()
545 .map_err(|_| Error::ReadMsgParcelFailed)?; in read()
548 .map_err(|_| Error in read()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/service_impl/
H A Derror.rs19 /// Struct of Synchronization Error.
27 /// Error because the input is not an asset value and can't call asset relating functions
43 IPCError(ipc_conn::Error),
46 IPCErrors(Vec<ipc_conn::Error>),
48 /// IO Error
49 IO(std::io::Error),
65 let e = std::io::Error::from(a.kind()); in clone()
72 impl From<std::io::Error> for SyncError {
73 fn from(value: std::io::Error) -> Self { in from()
78 impl From<ipc_conn::Error> fo
[all...]
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/include/common/
H A Dobject_error.h29 class Error { class
31 virtual ~Error(){}; in ~Error()
36 class ParametersType : public Error {
47 class ParametersNum : public Error {
57 class PermissionError : public Error {
64 class DatabaseError : public Error {
71 class InnerError : public Error {
78 class DeviceNotSupportedError : public Error {
/foundation/distributeddatamgr/data_share/frameworks/js/napi/common/include/
H A Ddatashare_error_impl.h23 class ParametersTypeError : public Error {
33 class ParametersNumError : public Error {
42 class DataShareHelperInitError : public Error {
49 class InnerError : public Error {
56 class BusinessError : public Error {
67 class UriNotExistError : public Error {
74 class DataAreaNotExistError : public Error {
81 class HelperAlreadyClosedError : public Error {
H A Ddatashare_error.h23 class Error { class
32 virtual ~Error() {}; in ~Error()
/foundation/filemanagement/file_api/interfaces/kits/rust/src/
H A Dadapter.rs20 use std::io::{BufRead, BufReader, Error, ErrorKind, Seek, SeekFrom};
59 pub(crate) unsafe fn error_control(err: Error) {
78 pub(crate) unsafe fn reader_iterator(path: *const c_char) -> Result<*mut c_void, Error> {
80 return Err(Error::new(ErrorKind::InvalidInput, "Invalid input"));
86 return Err(Error::new(ErrorKind::InvalidInput, "Invalid input"));
102 pub(crate) unsafe fn next_line(iter: *mut c_void) -> Result<*mut Str, Error> {
104 return Err(Error::new(ErrorKind::InvalidInput, "Invalid input"));
122 pub(crate) fn seek(fd: i32, offset: i64, pos: SeekPos) -> Result<u64, Error> {
135 pub(crate) fn create_dir(path: *const c_char, mode: MakeDirectionMode) -> Result<(), Error> {
137 return Err(Error
[all...]
/foundation/CastEngine/castengine_cast_framework/common/include/private/
H A Dcast_engine_log.h41 (void)HiLog::Error(CAST_ENGINE_LABEL, "[%{public}s:%{public}d]: " format, __func__, __LINE__, \
46 (void)HiLog::Error(CAST_ENGINE_LABEL, "[%{public}s:%{public}d]: " format, __func__, __LINE__, ##__VA_ARGS__)
48 (void)HiLog::Error(CAST_ENGINE_LABEL, "[%{public}s:%{public}d]: " format, __func__, __LINE__, ##__VA_ARGS__)
50 (void)HiLog::Error(CAST_ENGINE_LABEL, "[%{public}s:%{public}d]: " format, __func__, __LINE__, ##__VA_ARGS__)
52 (void)HiLog::Error(CAST_ENGINE_LABEL, "[%{public}s:%{public}d]: " format, __func__, __LINE__, ##__VA_ARGS__)
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/include/
H A Dnapi_rdb_error.h106 class Error { class
108 virtual ~Error(){}; in ~Error()
113 class InnerError : public Error {
126 class ParamTypeError : public Error {
143 class ParamNumError : public Error {
159 class DbInvalidError : public Error {
172 class DbCorruptedError : public Error {
185 class ResultGetError : public Error {
198 class ResultGotoError : public Error {
H A Dnapi_async_call.h37 void SetError(std::shared_ptr<Error> error);
44 std::shared_ptr<Error> error;
64 static void SetBusinessError(napi_env env, napi_value *businessError, std::shared_ptr<Error> error, int apiversion);
/foundation/systemabilitymgr/safwk/test/mock/common/ondemand_ability/src/
H A Dtest_ondemand_ability_proxy.cpp33 HiLog::Error(label_, "AddVolume remote is NULL !"); in AddVolume()
41 HiLog::Error(label_, "AddVolume parcel write volume failed"); in AddVolume()
49 HiLog::Error(label_, "AddVolume Transact error:%{public}d!", res); in AddVolume()
55 HiLog::Error(label_, "AddVolume parcel read volume failed"); in AddVolume()
H A Dtest_ondemand_ability_stub.cpp36 HiLog::Error(label_, "TestOnDemandAbilityStub::AddVolume read requestCode failed!"); in OnRemoteRequest()
41 HiLog::Error(label_, "TestOnDemandAbilityStub:AddVolume write reply failed."); in OnRemoteRequest()
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/
H A Dexpected.h33 template<typename Type, typename Error>
39 constexpr Expected(Error e) : error_(BASE_NS::move(e)) {} in Expected()
63 constexpr Error GetError() const in GetError()
65 return !hasValue_ ? error_ : Error {}; in GetError()
82 Error error_;
/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/
H A Derror.rs16 use std::error::Error;
22 cause: Option<Box<dyn Error + Send + Sync>>,
51 pub fn other<T: Into<Box<dyn Error + Send + Sync>>>(cause: Option<T>) -> Self { in other()
78 T: Into<Box<dyn Error + Send + Sync>>,
87 impl From<reqwest::Error> for HttpClientError {
88 fn from(err: reqwest::Error) -> Self { in from()
148 /// assert_eq!(ErrorKind::UserAborted.as_str(), "User Aborted Error");
152 Self::Build => "Build Error", in as_str()
153 Self::Connect => "Connect Error", in as_str()
154 Self::Request => "Request Error", in as_str()
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/include/
H A Dnapi_rdb_error.h87 class Error { class
89 virtual ~Error(){}; in ~Error()
94 class InnerError : public Error {
129 class ParamError : public Error {
155 class NonSystemError : public Error {
170 class ParamNumError : public Error {
/foundation/systemabilitymgr/safwk/test/mock/common/audio_ability/src/
H A Dtest_audio_ability_proxy.cpp43 HiLog::Error(label_, "%{public}s: object is null", __func__); in AddVolume()
62 HiLog::Error(label_, "ReduceVolume remote is NULL !"); in ReduceVolume()
82 HiLog::Error(label_, "TestRpcInt32 remote is NULL !"); in TestRpcInt32()
101 HiLog::Error(label_, "TestRpcUInt32 remote is NULL !"); in TestRpcUInt32()
120 HiLog::Error(label_, "TestRpcInt64 remote is NULL !"); in TestRpcInt64()
139 HiLog::Error(label_, "TestRpcInt64 remote is NULL !"); in TestRpcUInt64()
158 HiLog::Error(label_, "TestRpcFloat remote is NULL !"); in TestRpcFloat()
177 HiLog::Error(label_, "TestRpcDouble remote is NULL !"); in TestRpcDouble()
196 HiLog::Error(label_, "TestRpcString16 remote is NULL !"); in TestRpcString16()
/foundation/arkui/ace_engine/frameworks/base/base64/
H A Dbase64_util.cpp26 SkBase64::Error error = SkBase64::Decode(src.data(), src.size(), nullptr, &outputLen); in Decode()
27 if (error != SkBase64::Error::kNoError) { in Decode()
34 if (error != SkBase64::Error::kNoError) { in Decode()
/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dimage_format_convert_mdk_kits.cpp70 HiLog::Error(LABEL, "parameter is invalid!"); in ImageConvertExec()
77 HiLog::Error(LABEL, "format mismatch"); in ImageConvertExec()
83 HiLog::Error(LABEL, "fail to convert format"); in ImageConvertExec()
92 HiLog::Error(LABEL, "parameter is invalid!"); in ImageConvertJsToCPixelMap()
106 HiLog::Error(LABEL, "parameter is invalid!"); in ImageConvertCToJsPixelMap()
/foundation/multimedia/media_library/frameworks/js/src/
H A Dmedialibraryinf.js67 throw Error('invalid callback');
102 throw Error('invalid context');
113 throw Error(err);
130 throw Error('invalid param');
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/src/
H A Dnapi_rdb_store.cpp240 std::shared_ptr<Error> paramError = std::make_shared<ParamTypeError>("RdbStore", "not nullptr."); in ParserThis()
251 std::shared_ptr<Error> paramError = std::make_shared<ParamTypeError>("table", "a non empty string."); in ParseTableName()
261 std::shared_ptr<Error> paramError = std::make_shared<ParamTypeError>("device", "a non empty string."); in ParseDevice()
272 std::shared_ptr<Error> paramError = std::make_shared<ParamTypeError>("tables", "a string array."); in ParseTablesName()
292 std::shared_ptr<Error> paramError = std::make_shared<ParamTypeError>("mode", "a SyncMode."); in ParseSyncModeArg()
320 std::shared_ptr<Error> paramError = std::make_shared<ParamTypeError>("predicates", "an RdbPredicates."); in ParsePredicates()
356 std::shared_ptr<Error> paramError = std::make_shared<ParamTypeError>("srcName", "a non empty string."); in ParseSrcName()
371 std::shared_ptr<Error> paramError = std::make_shared<ParamTypeError>("columns", "a non empty string."); in ParseColumns()
379 std::shared_ptr<Error> paramError = std::make_shared<ParamTypeError>("whereClause", "a non empty string."); in ParseWhereClause()
389 std::shared_ptr<Error> paramErro in ParseAlias()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DarkComponent.js3389 throw new Error('Method not implemented.');
3667 throw new Error('Method not implemented.');
3674 throw new Error('Method not implemented.');
3677 throw new Error('Method not implemented.');
3680 throw new Error('Method not implemented.');
3942 throw new Error('Method not implemented.');
4027 throw new Error('Method not implemented.');
4030 throw new Error('Method not implemented.');
4033 throw new Error('Method not implemented.');
4036 throw new Error('Metho
[all...]
/foundation/arkui/napi/interfaces/inner_api/cjffi/native/
H A Dffi_remote_data.cpp106 HiLog::Error(LABEL, "Failed to invoke CJ function: FFIReleaseFFIData!"); in ~RemoteData()
122 HiLog::Error(LABEL, "RemoteData::GetID error, remote data invalid: %{public}" PRId64 ".", id_); in GetID()
131 HiLog::Error(LABEL, "Failed to invoke CJ function: FFIReleaseRemoteData!"); in ~FFIData()
/foundation/arkui/napi/utils/
H A Dlog.h35 Error, member in LogLevel
46 HILOG_PRINT(Error, fmt, ##__VA_ARGS__); \
49 #define HILOG_ERROR(fmt, ...) HILOG_PRINT(Error, fmt, ##__VA_ARGS__)

Completed in 18 milliseconds

12345