Lines Matching refs:error
585 Local<JSValueRef> error = Exception::Error(vm_, message); in HWTEST_F_L0() local
586 ASSERT_TRUE(error->IsError()); in HWTEST_F_L0()
588 JSNApi::ThrowException(vm_, error); in HWTEST_F_L0()
596 Local<JSValueRef> error = Exception::RangeError(vm_, message); in HWTEST_F_L0() local
597 ASSERT_TRUE(error->IsError()); in HWTEST_F_L0()
599 JSNApi::ThrowException(vm_, error); in HWTEST_F_L0()
607 Local<JSValueRef> error = Exception::TypeError(vm_, message); in HWTEST_F_L0() local
608 ASSERT_TRUE(error->IsError()); in HWTEST_F_L0()
610 JSNApi::ThrowException(vm_, error); in HWTEST_F_L0()
618 Local<JSValueRef> error = Exception::ReferenceError(vm_, message); in HWTEST_F_L0() local
619 ASSERT_TRUE(error->IsError()); in HWTEST_F_L0()
621 JSNApi::ThrowException(vm_, error); in HWTEST_F_L0()
629 Local<JSValueRef> error = Exception::SyntaxError(vm_, message); in HWTEST_F_L0() local
630 ASSERT_TRUE(error->IsError()); in HWTEST_F_L0()
632 JSNApi::ThrowException(vm_, error); in HWTEST_F_L0()