Searched refs:NewJSError (Results 1 - 8 of 8) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/ |
H A D | heap_dump_test.cpp | 800 factory->NewJSError(ErrorType::ERROR, handleMessage); in HWTEST_F_L0() 802 factory->NewJSError(ErrorType::EVAL_ERROR, handleMessage); in HWTEST_F_L0() 804 factory->NewJSError(ErrorType::RANGE_ERROR, handleMessage); in HWTEST_F_L0() 806 factory->NewJSError(ErrorType::TYPE_ERROR, handleMessage); in HWTEST_F_L0() 810 factory->NewJSError(ErrorType::REFERENCE_ERROR, handleMessage); in HWTEST_F_L0() 812 factory->NewJSError(ErrorType::URI_ERROR, handleMessage); in HWTEST_F_L0() 814 factory->NewJSError(ErrorType::SYNTAX_ERROR, handleMessage); in HWTEST_F_L0() 816 factory->NewJSError(ErrorType::OOM_ERROR, handleMessage); in HWTEST_F_L0() 818 factory->NewJSError(ErrorType::TERMINATION_ERROR, handleMessage); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/serializer/tests/ |
H A D | serializer_test.cpp | 1268 JSHandle<JSTaggedValue>::Cast(factory->NewJSError(base::ErrorType::ERROR, msg, StackCheck::NO)); in HWTEST_F_L0() 1289 JSHandle<JSTaggedValue>::Cast(factory->NewJSError(base::ErrorType::ERROR, msg, StackCheck::NO)); in HWTEST_F_L0() 1320 JSHandle<JSTaggedValue>::Cast(factory->NewJSError(base::ErrorType::RANGE_ERROR, msg, StackCheck::NO)); in HWTEST_F_L0() 1322 JSHandle<JSTaggedValue>::Cast(factory->NewJSError(base::ErrorType::REFERENCE_ERROR, msg, StackCheck::NO)); in HWTEST_F_L0() 1324 JSHandle<JSTaggedValue>::Cast(factory->NewJSError(base::ErrorType::TYPE_ERROR, msg, StackCheck::NO)); in HWTEST_F_L0() 1326 JSHandle<JSTaggedValue>::Cast(factory->NewJSError(base::ErrorType::URI_ERROR, msg, StackCheck::NO)); in HWTEST_F_L0() 1328 JSHandle<JSTaggedValue>::Cast(factory->NewJSError(base::ErrorType::SYNTAX_ERROR, msg, StackCheck::NO)); in HWTEST_F_L0() 1330 JSHandle<JSTaggedValue>::Cast(factory->NewJSError(base::ErrorType::OOM_ERROR, msg, StackCheck::NO)); in HWTEST_F_L0() 1332 JSHandle<JSTaggedValue>::Cast(factory->NewJSError(base::ErrorType::TERMINATION_ERROR, msg, StackCheck::NO)); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/serializer/ |
H A D | base_deserializer.cpp | 152 JSHandle<JSObject> errorTag = factory->NewJSError(errorType, JSHandle<EcmaString>(thread_, errorMsg), in DeserializeJSError()
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
H A D | runtime_stubs-inl.h | 1630 factory->NewJSError(base::ErrorType::TYPE_ERROR, msg, StackCheck::NO).GetTaggedValue()); in RuntimeThrowPatternNonCoercible() 1637 JSHandle<JSObject> errorObj = factory->NewJSError(base::ErrorType::REFERENCE_ERROR, info, StackCheck::NO); in RuntimeThrowDeleteSuperProperty() 1647 THROW_NEW_ERROR_AND_RETURN(thread, factory->NewJSError(base::ErrorType::REFERENCE_ERROR, in RuntimeThrowUndefinedIfHole() 1663 THROW_NEW_ERROR_AND_RETURN(thread, factory->NewJSError(base::ErrorType::TYPE_ERROR, in RuntimeThrowConstAssignment() 1718 factory->NewJSError(base::ErrorType::REFERENCE_ERROR, msg, StackCheck::NO).GetTaggedValue(), in RuntimeThrowReferenceError()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | object_factory.h | 217 JSHandle<JSObject> NewJSError(const ErrorType &errorType, const JSHandle<EcmaString> &message,
|
H A D | object_factory.cpp | 976 return NewJSError(errorType, handleMsg, needCheckStack); in GetJSError() 979 return NewJSError(errorType, emptyString, needCheckStack); in GetJSError() 982 JSHandle<JSObject> ObjectFactory::NewJSError(const ErrorType &errorType, const JSHandle<EcmaString> &message, in NewJSError() function in panda::ecmascript::ObjectFactory
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins.cpp | 1123 JSHandle<JSObject> oomError = factory_->NewJSError(ErrorType::OOM_ERROR, handleMsg, StackCheck::YES); in InitializeAllTypeError()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
H A D | jsnapi_expo.cpp | 3863 JSHandle<JSTaggedValue> result(factory->NewJSError(ErrorType::type, \
|
Completed in 50 milliseconds