/arkcompiler/ets_runtime/ecmascript/containers/ |
D | containers_errors.cpp | 22 JSHandle<JSObject> error = factory->GetJSError(ErrorType::ERROR, msg); in BusinessError()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_async_from_sync_iterator.cpp | 122 …factory->GetJSError(ErrorType::TYPE_ERROR, "AsyncFromSyncIteratorPrototype.throw: is not Object."); in Throw() 197 …factory->GetJSError(ErrorType::TYPE_ERROR, "AsyncFromSyncIteratorPrototype.return: is not Object."… in Return()
|
D | builtins_json.cpp | 41 …JSHandle<JSObject> syntaxError = factory->GetJSError(base::ErrorType::SYNTAX_ERROR, "arg is empty"… in Parse()
|
D | builtins_promise_job.cpp | 187 …JSTaggedValue error = factory->GetJSError(ErrorType::REFERENCE_ERROR, msg.c_str()).GetTaggedValue(… in DynamicImportJob() 195 …JSTaggedValue error = factory->GetJSError(ErrorType::REFERENCE_ERROR, msg.c_str()).GetTaggedValue(… in DynamicImportJob()
|
D | builtins_map.cpp | 296 …JSHandle<JSObject> typeError = factory->GetJSError(ErrorType::TYPE_ERROR, "nextItem is not Object"… in AddEntriesFromIterable()
|
D | builtins_promise_handler.cpp | 61 …factory->GetJSError(ErrorType::TYPE_ERROR, "Resolve: The promise and resolution cannot be the same… in Resolve()
|
D | builtins_regexp.cpp | 1635 … factory->GetJSError(base::ErrorType::SYNTAX_ERROR, "invalid regular expression flags"); in UpdateExpressionFlags() 1642 … factory->GetJSError(base::ErrorType::SYNTAX_ERROR, "invalid regular expression flags"); in UpdateExpressionFlags() 1764 factory->GetJSError(base::ErrorType::SYNTAX_ERROR, parser.GetErrorMsg().c_str()); in RegExpInitialize()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | ecma_macros.h | 300 JSHandle<JSObject> _error = _factory->GetJSError(type, message); \ 321 JSHandle<JSObject> _error = _factory->GetJSError(errorType, message); \ 333 JSHandle<JSObject> _error = _factory->GetJSError(errorType, message); \
|
D | js_thread.cpp | 346 …JSHandle<JSObject> error = factory->GetJSError(base::ErrorType::RANGE_ERROR, "Stack overflow!", fa… in DoStackOverflowCheck() 361 …JSHandle<JSObject> error = factory->GetJSError(base::ErrorType::RANGE_ERROR, "Stack overflow!", fa… in DoStackLimitCheck()
|
D | js_async_generator_object.cpp | 263 …factory->GetJSError(ErrorType::TYPE_ERROR, "Resolve: The promise and resolution cannot be the same… in AsyncGeneratorEnqueue()
|
D | js_list_format.cpp | 249 …JSHandle<JSObject> typeError = factory->GetJSError(ErrorType::TYPE_ERROR, "nextValue is not string… in StringListFromIterable()
|
D | js_proxy.cpp | 532 …JSHandle<JSObject> error = factory->GetJSError(base::ErrorType::RANGE_ERROR, "Stack overflow!", fa… in GetProperty() 618 …JSHandle<JSObject> error = factory->GetJSError(base::ErrorType::RANGE_ERROR, "Stack overflow!", fa… in SetProperty()
|
D | ecma_vm.cpp | 585 result = JSHandle<JSTaggedValue>::Cast(factory_->GetJSError( in TriggerConcurrentCallback()
|
D | js_function.cpp | 327 … factory->GetJSError(ErrorType::TYPE_ERROR, "class constructor cannot called without 'new'"); in InvokeOptimizedEntrypoint()
|
D | object_factory.h | 203 …JSHandle<JSObject> GetJSError(const ErrorType &errorType, const char *data = nullptr, bool needChe…
|
D | object_factory.cpp | 784 JSHandle<JSObject> ObjectFactory::GetJSError(const ErrorType &errorType, const char *data, bool nee… in GetJSError() function in panda::ecmascript::ObjectFactory
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
D | runtime_stubs.cpp | 1338 JSHandle<JSObject> error = factory->GetJSError(ErrorType::TYPE_ERROR, message.c_str()); in DEF_RUNTIME_STUBS() 1740 JSHandle<JSObject> error = factory->GetJSError(ErrorType::TYPE_ERROR, "is not callable"); in DEF_RUNTIME_STUBS() 1750 JSHandle<JSObject> error = factory->GetJSError(ErrorType::TYPE_ERROR, in DEF_RUNTIME_STUBS() 1761 JSHandle<JSObject> error = factory->GetJSError(ErrorType::TYPE_ERROR, in DEF_RUNTIME_STUBS() 1772 JSHandle<JSObject> error = factory->GetJSError(ErrorType::TYPE_ERROR, in DEF_RUNTIME_STUBS() 1786 … JSHandle<JSObject> error = factory->GetJSError(ErrorType::RANGE_ERROR, "Stack overflow!", false); in DEF_RUNTIME_STUBS() 1798 JSHandle<JSObject> error = factory->GetJSError(ErrorType::TYPE_ERROR, in DEF_RUNTIME_STUBS()
|
/arkcompiler/ets_runtime/ecmascript/module/ |
D | module_path_helper.cpp | 47 …JSTaggedValue error = factory->GetJSError(ErrorType::REFERENCE_ERROR, msg.c_str()).GetTaggedValue(… in ConcatFileNameWithMerge()
|
D | js_module_manager.cpp | 166 factory->GetJSError(base::ErrorType::SYNTAX_ERROR, errorMsg.c_str()); in GetCJSModuleValue()
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_errors_test.cpp | 85 JSHandle<JSObject> handleObj = factory->GetJSError(ErrorType::TYPE_ERROR); in HWTEST_F_L0() 111 JSHandle<JSObject> handleObj = factory->GetJSError(ErrorType::TYPE_ERROR, "I am type error"); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
D | interpreter-inl.h | 246 JSHandle<JSObject> error = factory->GetJSError( \ 268 JSHandle<JSObject> error = factory->GetJSError( \ 821 … factory->GetJSError(ErrorType::TYPE_ERROR, "class constructor cannot called without 'new'"); in GeneratorReEnterAot() 1365 … factory->GetJSError(ErrorType::TYPE_ERROR, "class constructor cannot called without 'new'"); in RunInternal() 1486 JSHandle<JSObject> error = factory->GetJSError(ErrorType::TYPE_ERROR, in RunInternal() 1531 JSHandle<JSObject> error = factory->GetJSError(ErrorType::TYPE_ERROR, in RunInternal()
|
D | interpreter_assembly.cpp | 241 … factory->GetJSError(ErrorType::TYPE_ERROR, "class constructor cannot called without 'new'"); in Execute()
|