/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/ |
H A D | napi_transaction.cpp | 66 std::make_shared<ParamError>("predicates", "an RdbPredicates.")); in ParseRdbPredicatesProxy() 77 auto error = std::make_shared<ParamError>("ValuesBucket is invalid."); in ParseSendableValuesBucket() 280 transaction_ != nullptr, std::make_shared<ParamError>("transaction", "a transaction.")); in Parse() 314 transaction_ != nullptr, std::make_shared<ParamError>("transaction", "a transaction.")); in Parse() 350 transaction_ != nullptr, std::make_shared<ParamError>("transaction", "a transaction.")); in Parse() 392 transaction_ != nullptr, std::make_shared<ParamError>("transaction", "a transaction.")); in Parse() 443 transaction_ != nullptr, std::make_shared<ParamError>("transaction", "a transaction.")); in Parse() 494 transaction_ != nullptr, std::make_shared<ParamError>("transaction", "a transaction.")); in Parse() 539 transaction_ != nullptr, std::make_shared<ParamError>("transaction", "a transaction.")); in Parse() 543 std::make_shared<ParamError>("columns", "a Array<string>.")); in Parse() [all …]
|
H A D | napi_rdb_predicates.cpp | 105 RDB_NAPI_ASSERT(env, !tableName.empty(), std::make_shared<ParamError>("name", "not empty")); in New() 217 RDB_NAPI_ASSERT(env, !field.empty(), std::make_shared<ParamError>(fieldName, "not empty")); in ParseFieldByName() 234 RDB_NAPI_ASSERT(env, status == napi_ok, std::make_shared<ParamError>(fieldName, "a number.")); in ParseInt32FieldByName() 252 RDB_NAPI_ASSERT(env, !field.empty(), std::make_shared<ParamError>("field", "not empty")); in ParseFieldAndValueArray() 274 RDB_NAPI_ASSERT(env, !field.empty(), std::make_shared<ParamError>("field", "not empty")); in ParseFieldAndValue() 296 RDB_NAPI_ASSERT(env, !field.empty(), std::make_shared<ParamError>("field", "not empty")); in ParseFieldAndStringValue() 299 RDB_NAPI_ASSERT(env, ret == napi_ok, std::make_shared<ParamError>("value", "a string.")); in ParseFieldAndStringValue() 318 RDB_NAPI_ASSERT(env, !field.empty(), std::make_shared<ParamError>("field", "not empty")); in ParseFieldLowAndHigh() 321 RDB_NAPI_ASSERT(env, ret == napi_ok, std::make_shared<ParamError>("low", "a valueType.")); in ParseFieldLowAndHigh() 325 RDB_NAPI_ASSERT(env, ret == napi_ok, std::make_shared<ParamError>("high", "a valueType.")); in ParseFieldLowAndHigh() [all …]
|
H A D | napi_rdb_store.cpp | 354 std::make_shared<ParamError>("distributedType", "a DistributedType")); in ParseDistributedTypeArg() 404 std::make_shared<ParamError>("predicates", "an RdbPredicates.")); in ParsePredicates() 501 auto error = std::make_shared<ParamError>("ValuesBucket is invalid."); in ParseSendableValuesBucket() 934 std::make_shared<ParamError>("Duplicate assets are not allowed")); in Replace() 995 std::make_shared<ParamError>("fullPath cannot be empty.")); in Attach() 1010 std::make_shared<ParamError>("attachName cannot be empty.")); in Attach() 1015 std::make_shared<ParamError>("waitTime cannot exceed 300s.")); in Attach() 1050 std::make_shared<ParamError>("attachName cannot be empty.")); in Detach() 1056 std::make_shared<ParamError>("waitTime cannot exceed 300s.")); in Detach() 1082 std::make_shared<ParamError>("RdbStore", "valid")); in IsReadOnly() [all …]
|
H A D | napi_rdb_store_helper.cpp | 65 CHECK_RETURN_SET_E(OK == errCode, std::make_shared<ParamError>("Illegal context.")); in GetRdbStore() 68 … CHECK_RETURN_SET_E(OK == errCode, std::make_shared<ParamError>("Illegal StoreConfig or name.")); in GetRdbStore() 70 …CHECK_RETURN_SET_E(context->config.cryptoParam.IsValid(), std::make_shared<ParamError>("Illegal Cr… in GetRdbStore() 102 CHECK_RETURN_SET_E(OK == errCode, std::make_shared<ParamError>("Illegal context.")); in DeleteRdbStore() 106 CHECK_RETURN_SET_E(OK == errCode, std::make_shared<ParamError>("Illegal path.")); in DeleteRdbStore() 109 … CHECK_RETURN_SET_E(OK == errCode, std::make_shared<ParamError>("Illegal StoreConfig or name.")); in DeleteRdbStore()
|
H A D | napi_rdb_js_utils.cpp | 45 using RelationalStoreJsKit::ParamError; 456 …std::make_tuple(ERR, std::make_shared<ParamError>("StoreConfig.name", "a file name without path.")… in GetRealPath() 461 … std::make_tuple(ERR, std::make_shared<ParamError>("customDir", "a relative directory."))); in GetRealPath() 464 … std::make_tuple(ERR, std::make_shared<ParamError>("customDir length", "less than or equal to 128 " in GetRealPath() 475 return std::make_tuple(ERR, std::make_shared<ParamError>("Illegal context.")); in GetRealPath() 487 std::make_tuple(ERR, std::make_shared<ParamError>("database path", "a valid path."))); in GetRealPath()
|
H A D | napi_result_set.cpp | 150 RDB_NAPI_ASSERT(env, status == napi_ok, std::make_shared<ParamError>(name, "a number.")); in ParseInt32FieldByName() 154 …RDB_NAPI_ASSERT(env, proxy && proxy->GetInstance(), std::make_shared<ParamError>("resultSet", "not… in ParseInt32FieldByName() 168 RDB_NAPI_ASSERT(env, !field.empty(), std::make_shared<ParamError>(name, "a non empty string.")); in ParseFieldByName() 172 …RDB_NAPI_ASSERT(env, proxy && proxy->GetInstance(), std::make_shared<ParamError>("resultSet", "not… in ParseFieldByName()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/service_extension_context/ |
H A D | service_extension_context.js | 21 class ParamError extends Error { class 121 reject(new ParamError()); 144 reject(new ParamError());
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/include/ |
H A D | napi_rdb_error.h | 129 class ParamError : public Error { 131 ParamError(const std::string &needed, const std::string &mustbe) in ParamError() function 136 ParamError(const std::string &errMsg) in ParamError() function
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/sendablerelationalstore/src/ |
H A D | napi_rdb_store_convert_utils.cpp | 46 std::make_shared<ParamError>("ValuesBucket is invalid" + std::to_string(status))); in FromSendableValuesBucket() 89 std::make_shared<ParamError>("ValuesBucket is invalid" + std::to_string(status))); in ToSendableValuesBucket() 125 std::make_shared<ParamError>("Asset is invalid" + std::to_string(status))); in FromSendableAsset() 140 std::make_shared<ParamError>("Asset is invalid" + std::to_string(status))); in ToSendableAsset()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/ability_context/ |
H A D | ability_context.js | 21 class ParamError extends Error { class 65 reject(new ParamError('Parse param want failed, want must be Want')); 88 reject(new ParamError(
|
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/extensioncontext/ |
H A D | vpn_extension_context.js | 21 class ParamError extends Error { class
|
/ohos5.0/foundation/resourceschedule/work_scheduler/utils/native/include/ |
H A D | work_sched_errors.h | 43 enum ParamError { enum
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/ui_extension_context/ |
H A D | ui_extension_context.js | 20 class ParamError extends Error { class
|
/ohos5.0/foundation/resourceschedule/device_usage_statistics/interfaces/kits/bundlestats/napi/include/ |
H A D | bundle_state_inner_errors.h | 72 enum ParamError { enum
|