Home
last modified time | relevance | path

Searched refs:TYPE_ERROR (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/taskpool/
H A Dtask.cpp72 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in TaskConstructor()
293 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in SetTransferList()
313 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in SetTransferList()
350 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in SetCloneList()
355 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in SetCloneList()
412 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in OnReceiveData()
433 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in OnReceiveData()
756 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in OnEnqueued()
794 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in OnStartExecution()
844 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in OnExecutionFailed()
[all …]
H A Dtaskpool.cpp195 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in TerminateTask()
200 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in TerminateTask()
208 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in TerminateTask()
221 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in Execute()
266 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in Execute()
617 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in Cancel()
623 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in Cancel()
656 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in IsConcurrent()
662 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in IsConcurrent()
763 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in CheckDelayedParams()
[all …]
H A Dsequence_runner.cpp69 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, "priority value unvalied."); in SeqRunnerConstructor()
73 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in SeqRunnerConstructor()
83 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, "priority value unvalied."); in SeqRunnerConstructor()
87 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in SeqRunnerConstructor()
123 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, "the number of param at least one."); in Execute()
129 …ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, "the type of the first param must be task."); in Execute()
141 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, "the type of param must be task."); in Execute()
H A Dtask_group.cpp34 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in TaskGroupConstructor()
42 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in TaskGroupConstructor()
91 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in AddTask()
105 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, errMessage.c_str()); in AddTask()
114 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in AddTask()
145 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in AddTask()
H A Dworker.cpp559 napi_value err = ErrorHelper::NewError(env, ErrorHelper::TYPE_ERROR, in InitTaskPoolFunc()
H A Dtask_manager.cpp1764 … ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, "seqRunner:: priority can not changed."); in CreateOrGetGlobalRunner()
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/worker/
H A Dworker.cpp400 WorkerThrowError(env, ErrorHelper::TYPE_ERROR, "the type of name must be string."); in CheckWorkerArgs()
431 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in CheckWorkerArgs()
630 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in AddListener()
673 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in RemoveListener()
687 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in RemoveListener()
732 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in DispatchEvent()
1042 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in ParentPortAddEventListener()
1053 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in ParentPortAddEventListener()
1059 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in ParentPortAddEventListener()
1097 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, in ParentPortDispatchEvent()
[all …]
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/utils/locks/
H A Dasync_lock_manager.cpp169 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, "Request:: param must be string"); in Constructor()
267 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, "Invalid lock mode."); in LockAsync()
271 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, "Invalid options."); in LockAsync()
283 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, "Invalid number of arguments"); in Query()
297 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, "Invalid argument type"); in Query()
320 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, "Invalid number of arguments"); in QueryAll()
337 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, "Cannot create an object"); in CreateLockState()
343 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, "Cannot create an object"); in CreateLockState()
347 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, "Cannot create an object"); in CreateLockState()
357 ErrorHelper::ThrowError(env, ErrorHelper::TYPE_ERROR, "Cannot create an object"); in CreateLockState()
/ohos5.0/base/update/updateservice/foundations/ability/utils/include/
H A Ddupdate_json_utils.h32 TYPE_ERROR enumerator
46 return CAST_INT(JsonParseError::TYPE_ERROR); in GetValueAndSetTo()
77 return CAST_INT(JsonParseError::TYPE_ERROR); in GetValueAndSetToArray()
129 return CAST_INT(JsonParseError::TYPE_ERROR); in JsonStrToStruct()
/ohos5.0/base/web/webview/interfaces/kits/napi/webdatabase/
H A Dnapi_web_data_base.cpp153 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "host", "string")); in JsSaveHttpAuthCredentials()
159 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "realm", "string")); in JsSaveHttpAuthCredentials()
165 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "username", "string")); in JsSaveHttpAuthCredentials()
213 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "host", "string")); in JsGetHttpAuthCredentials()
220 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "realm", "string")); in JsGetHttpAuthCredentials()
H A Dnapi_geolocation_permission.cpp142 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "origin", "string")); in ProcessActionByType()
354 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "origin", "string")); in JsGetAccessibleGeolocation()
364 … NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "callback", "function")); in JsGetAccessibleGeolocation()
369 … NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "incognito", "boolean")); in JsGetAccessibleGeolocation()
382 … NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "incognito", "boolean")); in JsGetAccessibleGeolocation()
545 … NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "callback", "function")); in JsGetStoredGeolocation()
551 … NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "incognito", "boolean")); in JsGetStoredGeolocation()
566 … NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "incognito", "boolean")); in JsGetStoredGeolocation()
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/
H A Dhdf_command_line_server.py23 TYPE_ERROR = 'error' variable in Message
31 return self.msg_type.lower() == Message.TYPE_ERROR
78 self._send_back(Message.TYPE_ERROR, content, error_code)
/ohos5.0/base/web/webview/interfaces/kits/napi/webcookiemanager/
H A Dnapi_web_cookie_manager.cpp170 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "url", "string")); in JsFetchCookieAsync()
224 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "url", "string")); in JsGetCookie()
231 … NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "incognito", "boolean")); in JsGetCookie()
270 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "url", "string")); in JsSetCookie()
275 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "value", "string")); in JsSetCookie()
282 … NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "incognito", "boolean")); in JsSetCookie()
364 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "url", "string")); in JsConfigCookieAsync()
370 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "value", "string")); in JsConfigCookieAsync()
382 … NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "callback", "function")); in JsConfigCookieAsync()
444 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "accept", "booleane")); in JsPutAcceptCookieEnabled()
[all …]
/ohos5.0/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dnapi_webview_controller.cpp407 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "height", "number")); in ParsePDFConfigArgs()
451 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "name", "string")); in ParseRegisterJavaScriptProxyParam()
1257 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "step", "number")); in AccessStep()
1956 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "name", "string")); in PostMessage()
1976 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "uri", "string")); in PostMessage()
2832 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "url", "string")); in PostUrl()
4285 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "x", "number")); in ScrollTo()
4291 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "y", "number")); in ScrollTo()
4386 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "vx", "number")); in SlideScroll()
4392 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "vy", "number")); in SlideScroll()
[all …]
H A Dnapi_web_scheme_handler_request.cpp500 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "url", "string")); in JS_SetUrl()
545 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "code", "int")); in JS_SetStatus()
597 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "text", "string")); in JS_SetStatusText()
647 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "type", "string")); in JS_SetMimeType()
698 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "encoding", "string")); in JS_SetEncoding()
762 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "name", "string")); in JS_SetHeaderByName()
768 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "value", "string")); in JS_SetHeaderByName()
774 … NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "overwrite", "booleane")); in JS_SetHeaderByName()
825 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "code", "int")); in JS_SetNetErrorCode()
894 … NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "callback", "function")); in JS_RequestStart()
[all …]
/ohos5.0/commonlibrary/ets_utils/js_sys_module/console/
H A Dconsole.cpp199 Helper::ErrorHelper::ThrowError(env, Helper::ErrorHelper::TYPE_ERROR, in GetTimerOrCounterName()
207 Helper::ErrorHelper::ThrowError(env, Helper::ErrorHelper::TYPE_ERROR, in GetTimerOrCounterName()
258 …Helper::ErrorHelper::ThrowError(env, Helper::ErrorHelper::TYPE_ERROR, "Dir content must not be nul… in Dir()
316 Helper::ErrorHelper::ThrowError(env, Helper::ErrorHelper::TYPE_ERROR, in RenderHead()
338 Helper::ErrorHelper::ThrowError(env, Helper::ErrorHelper::TYPE_ERROR, in GetStringAndStringWidth()
470 Helper::ErrorHelper::ThrowError(env, Helper::ErrorHelper::TYPE_ERROR, in GetValueArray()
518 Helper::ErrorHelper::ThrowError(env, Helper::ErrorHelper::TYPE_ERROR, in ProcessNestedObject()
569 Helper::ErrorHelper::ThrowError(env, Helper::ErrorHelper::TYPE_ERROR, in ProcessTabularData()
/ohos5.0/base/web/webview/interfaces/kits/napi/common/
H A Dweb_errors.h25 extern const char* TYPE_ERROR;
H A Dweb_errors.cpp49 const char* TYPE_ERROR = "BusinessError 401: Parameter error. The type of '%s' must be %s."; variable
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/common/helper/
H A Derror_helper.h111 case TYPE_ERROR:
250 static const int32_t TYPE_ERROR = 401; // 401 : the parameter type is incorrect variable
/ohos5.0/base/web/webview/interfaces/kits/napi/webstorage/
H A Dnapi_web_storage.cpp98 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "origin", "string")); in JsDeleteOrigin()
302 … NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "callback", "function")); in JsGetOrigins()
469 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "origin", "string")); in JsGetOriginUsageOrQuota()
494 … NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "callback", "function")); in JsGetOriginUsageOrQuota()
/ohos5.0/commonlibrary/ets_utils/js_api_module/buffer/src/
H A Djs_buffer.ts39 TYPE_ERROR: 401, // 401: TYPE_ ERROR code value
46 'typeError': ERROR_CODES.TYPE_ERROR,
183 case ERROR_CODES.TYPE_ERROR: