• Home
  • Raw
  • Download

Lines Matching refs:error_obj

1802   v8::Local<v8::Value> error_obj =  in napi_create_error()  local
1804 STATUS_CALL(set_error_code(env, error_obj, code, nullptr)); in napi_create_error()
1806 *result = v8impl::JsValueFromV8LocalValue(error_obj); in napi_create_error()
1822 v8::Local<v8::Value> error_obj = in napi_create_type_error() local
1824 STATUS_CALL(set_error_code(env, error_obj, code, nullptr)); in napi_create_type_error()
1826 *result = v8impl::JsValueFromV8LocalValue(error_obj); in napi_create_type_error()
1842 v8::Local<v8::Value> error_obj = in napi_create_range_error() local
1844 STATUS_CALL(set_error_code(env, error_obj, code, nullptr)); in napi_create_range_error()
1846 *result = v8impl::JsValueFromV8LocalValue(error_obj); in napi_create_range_error()
1862 v8::Local<v8::Value> error_obj = in node_api_create_syntax_error() local
1864 STATUS_CALL(set_error_code(env, error_obj, code, nullptr)); in node_api_create_syntax_error()
1866 *result = v8impl::JsValueFromV8LocalValue(error_obj); in node_api_create_syntax_error()
2044 v8::Local<v8::Value> error_obj = v8::Exception::Error(str); in napi_throw_error() local
2045 STATUS_CALL(set_error_code(env, error_obj, nullptr, code)); in napi_throw_error()
2047 isolate->ThrowException(error_obj); in napi_throw_error()
2062 v8::Local<v8::Value> error_obj = v8::Exception::TypeError(str); in napi_throw_type_error() local
2063 STATUS_CALL(set_error_code(env, error_obj, nullptr, code)); in napi_throw_type_error()
2065 isolate->ThrowException(error_obj); in napi_throw_type_error()
2080 v8::Local<v8::Value> error_obj = v8::Exception::RangeError(str); in napi_throw_range_error() local
2081 STATUS_CALL(set_error_code(env, error_obj, nullptr, code)); in napi_throw_range_error()
2083 isolate->ThrowException(error_obj); in napi_throw_range_error()
2098 v8::Local<v8::Value> error_obj = v8::Exception::SyntaxError(str); in node_api_throw_syntax_error() local
2099 STATUS_CALL(set_error_code(env, error_obj, nullptr, code)); in node_api_throw_syntax_error()
2101 isolate->ThrowException(error_obj); in node_api_throw_syntax_error()