Home
last modified time | relevance | path

Searched refs:ECMA_ERR_MSG (Results 1 – 25 of 75) sorted by relevance

123

/third_party/jerryscript/jerry-core/ecma/builtin-objects/typedarray/
Decma-builtin-typedarray.c66 return ecma_raise_type_error (ECMA_ERR_MSG ("'this' is not a constructor.")); in ecma_builtin_typedarray_from()
75 return ecma_raise_type_error (ECMA_ERR_MSG ("no source argument")); in ecma_builtin_typedarray_from()
86 return ecma_raise_type_error (ECMA_ERR_MSG ("mapfn argument is not callable")); in ecma_builtin_typedarray_from()
100 return ecma_raise_type_error (ECMA_ERR_MSG ("'this' is not a typedarray constructor")); in ecma_builtin_typedarray_from()
133 return ecma_raise_type_error (ECMA_ERR_MSG ("'this' is not a constructor.")); in ecma_builtin_typedarray_of()
141 return ecma_raise_type_error (ECMA_ERR_MSG ("'this' is not a typedarray constructor")); in ecma_builtin_typedarray_of()
199 return ecma_raise_type_error (ECMA_ERR_MSG ("TypedArray intrinstic cannot be directly called")); in ecma_builtin_typedarray_dispatch_call()
216 …return ecma_raise_type_error (ECMA_ERR_MSG ("TypedArray intrinstic cannot be called by a 'new' exp… in ecma_builtin_typedarray_dispatch_construct()
Decma-builtin-typedarray-prototype.c80 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument 'this' is not a TypedArray.")); in ecma_builtin_typedarray_prototype_buffer_getter()
103 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument 'this' is not a TypedArray.")); in ecma_builtin_typedarray_prototype_bytelength_getter()
125 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument 'this' is not a TypedArray.")); in ecma_builtin_typedarray_prototype_byteoffset_getter()
147 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument 'this' is not a TypedArray.")); in ecma_builtin_typedarray_prototype_length_getter()
200 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument 'this' is not a TypedArray.")); in ecma_builtin_typedarray_prototype_exec_routine()
205 return ecma_raise_type_error (ECMA_ERR_MSG ("Callback function is not callable.")); in ecma_builtin_typedarray_prototype_exec_routine()
213 return ecma_raise_type_error (ECMA_ERR_MSG ("ArrayBuffer has been detached.")); in ecma_builtin_typedarray_prototype_exec_routine()
359 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument 'this' is not a TypedArray.")); in ecma_builtin_typedarray_iterators_helper()
436 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument 'this' is not a TypedArray.")); in ecma_builtin_typedarray_prototype_map()
441 return ecma_raise_type_error (ECMA_ERR_MSG ("Callback function is not callable.")); in ecma_builtin_typedarray_prototype_map()
[all …]
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-dataview-object.c57 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument buffer is not an object.")); in ecma_op_dataview_create()
65 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument buffer is not an arraybuffer.")); in ecma_op_dataview_create()
86 …return ecma_raise_range_error (ECMA_ERR_MSG ("Start offset is outside the bounds of the buffer.")); in ecma_op_dataview_create()
95 return ecma_raise_type_error (ECMA_ERR_MSG ("ArrayBuffer has been detached.")); in ecma_op_dataview_create()
104 …return ecma_raise_range_error (ECMA_ERR_MSG ("Start offset is outside the bounds of the buffer.")); in ecma_op_dataview_create()
123 …return ecma_raise_range_error (ECMA_ERR_MSG ("Start offset is outside the bounds of the buffer.")); in ecma_op_dataview_create()
170 ecma_raise_type_error (ECMA_ERR_MSG ("Expected a DataView object.")); in ecma_op_dataview_get_object()
264 …return ecma_raise_range_error (ECMA_ERR_MSG ("Start offset is outside the bounds of the buffer.")); in ecma_op_dataview_get_set_view_value()
277 return ecma_raise_type_error (ECMA_ERR_MSG ("ArrayBuffer has been detached.")); in ecma_op_dataview_get_set_view_value()
292 …return ecma_raise_range_error (ECMA_ERR_MSG ("Start offset is outside the bounds of the buffer.")); in ecma_op_dataview_get_set_view_value()
[all …]
Decma-proxy-object.c78 … ecma_raise_type_error (ECMA_ERR_MSG ("Cannot create proxy with a non-object target or handler")); in ecma_proxy_create()
273 return ecma_raise_type_error (ECMA_ERR_MSG ("Handler can not be null")); in ecma_validate_proxy_object()
338 return ecma_raise_type_error (ECMA_ERR_MSG ("Trap returned neither object nor null.")); in ecma_proxy_object_get_prototype_of()
374 …ret_value = ecma_raise_type_error (ECMA_ERR_MSG ("Proxy target is non-extensible, but the trap did… in ecma_proxy_object_get_prototype_of()
479 ret_value = ecma_raise_type_error (ECMA_ERR_MSG ("Target object is non-extensible and trap " in ecma_proxy_object_set_prototype_of()
567 …return ecma_raise_type_error (ECMA_ERR_MSG ("Trap result does not reflect extensibility of proxy t… in ecma_proxy_object_is_extensible()
650 …return ecma_raise_type_error (ECMA_ERR_MSG ("Trap result does not reflect inextensibility of proxy… in ecma_proxy_object_prevent_extensions()
718 return ecma_raise_type_error (ECMA_ERR_MSG ("Trap is not object nor undefined.")); in ecma_proxy_object_get_own_property_descriptor()
744 return ecma_raise_type_error (ECMA_ERR_MSG ("Given property is a non-configurable" in ecma_proxy_object_get_own_property_descriptor()
764 return ecma_raise_type_error (ECMA_ERR_MSG ("Target not extensible.")); in ecma_proxy_object_get_own_property_descriptor()
[all …]
Decma-iterator-object.c203 return ecma_raise_type_error (ECMA_ERR_MSG ("object is not iterable")); in ecma_op_get_iterator()
224 return ecma_raise_type_error (ECMA_ERR_MSG ("Iterator is not an object.")); in ecma_op_get_iterator()
261 return ecma_raise_type_error (ECMA_ERR_MSG ("Iterator next() is not callable.")); in ecma_op_iterator_next()
317 return ecma_raise_type_error (ECMA_ERR_MSG ("Iterator return() is not callable.")); in ecma_op_iterator_return()
363 return ecma_raise_type_error (ECMA_ERR_MSG ("Iterator throw() is not available.")); in ecma_op_iterator_throw()
369 return ecma_raise_type_error (ECMA_ERR_MSG ("Iterator throw() is not callable.")); in ecma_op_iterator_throw()
481 return ecma_raise_type_error (ECMA_ERR_MSG ("method 'return' is not callable.")); in ecma_op_iterator_close()
520 return ecma_raise_type_error (ECMA_ERR_MSG ("Iterator result is not an object.")); in ecma_op_iterator_step()
587 return ecma_raise_type_error (ECMA_ERR_MSG ("Iterator result is not an object.")); in ecma_op_iterator_do()
Decma-conversion.c62 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument cannot be converted to an object.")); in ecma_op_check_object_coercible()
286 return ecma_raise_type_error (ECMA_ERR_MSG ("Cannot convert a Symbol value to a number.")); in ecma_op_to_number()
387 return ecma_raise_type_error (ECMA_ERR_MSG ("Cannot convert a Symbol value to a number.")); in ecma_get_number()
462 ecma_raise_type_error (ECMA_ERR_MSG ("Cannot convert a Symbol value to a string.")); in ecma_op_to_string()
536 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument cannot be converted to an object.")); in ecma_op_to_object()
672 ret_value = ecma_raise_type_error (ECMA_ERR_MSG ("Expected an object.")); in ecma_op_to_property_descriptor()
768 ret_value = ecma_raise_type_error (ECMA_ERR_MSG ("Expected a function.")); in ecma_op_to_property_descriptor()
807 ret_value = ecma_raise_type_error (ECMA_ERR_MSG ("Expected a function.")); in ecma_op_to_property_descriptor()
840 ret_value = ecma_raise_type_error (ECMA_ERR_MSG ("Accessors cannot be writable.")); in ecma_op_to_property_descriptor()
994 ecma_raise_type_error (ECMA_ERR_MSG ("Argument is not an Object.")); in ecma_op_create_list_from_array_like()
[all …]
Decma-get-put-value.c70 … return ecma_raise_reference_error (ECMA_ERR_MSG ("Variables declared by let/const must be" in ecma_op_get_value_lex_env_base()
225 … return ecma_raise_reference_error (ECMA_ERR_MSG ("Variables declared by let/const must be" in ecma_op_put_value_lex_env_base()
235 return ecma_raise_type_error (ECMA_ERR_MSG ("Constant bindings cannot be reassigned.")); in ecma_op_put_value_lex_env_base()
240 return ecma_raise_type_error (ECMA_ERR_MSG ("Binding cannot be set.")); in ecma_op_put_value_lex_env_base()
Decma-typedarray-object.c512 return ecma_raise_range_error (ECMA_ERR_MSG ("Maximum typedarray size is reached.")); in ecma_typedarray_create_object_with_length()
519 return ecma_raise_range_error (ECMA_ERR_MSG ("Maximum typedarray size is reached.")); in ecma_typedarray_create_object_with_length()
591 return ecma_raise_type_error (ECMA_ERR_MSG ("ArrayBuffer has been detached.")); in ecma_typedarray_create_object_with_buffer()
638 return ecma_raise_type_error (ECMA_ERR_MSG ("Invalid detached ArrayBuffer.")); in ecma_typedarray_create_object_with_typedarray()
737 return ecma_raise_type_error (ECMA_ERR_MSG ("Invalid argument type.")); in ecma_op_typedarray_from_helper()
1099 return ecma_raise_type_error (ECMA_ERR_MSG ("length argument is undefined")); in ecma_op_create_typedarray()
1108 ret = ecma_raise_range_error (ECMA_ERR_MSG ("Invalid typedarray length.")); in ecma_op_create_typedarray()
1151 ret = ecma_raise_range_error (ECMA_ERR_MSG ("Invalid offset.")); in ecma_op_create_typedarray()
1155 ret = ecma_raise_type_error (ECMA_ERR_MSG ("Invalid detached ArrayBuffer.")); in ecma_op_create_typedarray()
1166 ret = ecma_raise_range_error (ECMA_ERR_MSG ("Invalid length.")); in ecma_op_create_typedarray()
[all …]
Decma-promise-object.c400 return ecma_raise_type_error (ECMA_ERR_MSG ("'resolve' function should be undefined.")); in ecma_call_builtin_executor()
411 return ecma_raise_type_error (ECMA_ERR_MSG ("'reject' function should be undefined.")); in ecma_call_builtin_executor()
647 return ecma_raise_type_error (ECMA_ERR_MSG ("Resolve must be undefined")); in ecma_op_get_capabilities_executor_cb()
659 return ecma_raise_type_error (ECMA_ERR_MSG ("Reject must be undefined")); in ecma_op_get_capabilities_executor_cb()
694 return ecma_raise_type_error (ECMA_ERR_MSG ("Invalid capability")); in ecma_promise_new_capability()
742 return ecma_raise_type_error (ECMA_ERR_MSG ("'resolve' parameter must be callable.")); in ecma_promise_new_capability()
754 return ecma_raise_type_error (ECMA_ERR_MSG ("'reject' parameter must be callable.")); in ecma_promise_new_capability()
775 return ecma_raise_type_error (ECMA_ERR_MSG ("'this' is not an object.")); in ecma_promise_reject_or_resolve()
936 return ecma_raise_type_error (ECMA_ERR_MSG ("'this' is not an object.")); in ecma_promise_then()
943 return ecma_raise_type_error (ECMA_ERR_MSG ("'this' is not a Promise.")); in ecma_promise_then()
Decma-exceptions.h30 #define ECMA_ERR_MSG(msg) msg macro
32 #define ECMA_ERR_MSG(msg) NULL macro
Decma-lex-env.c245 return ecma_raise_type_error (ECMA_ERR_MSG ("Constant bindings cannot be reassigned.")); in ecma_op_set_mutable_binding()
250 return ecma_raise_type_error (ECMA_ERR_MSG ("Binding cannot be set.")); in ecma_op_set_mutable_binding()
315 …result = ecma_raise_reference_error (ECMA_ERR_MSG ("Binding does not exist or is uninitialised.")); in ecma_op_get_binding_value()
531 …return ecma_raise_reference_error (ECMA_ERR_MSG ("Must call super constructor in derived class bef… in ecma_op_get_this_binding()
/third_party/jerryscript/jerry-core/api/
Djerry.c508 return jerry_throw (ecma_raise_syntax_error (ECMA_ERR_MSG ("The parser has been disabled."))); in jerry_parse()
591 return jerry_throw (ecma_raise_syntax_error (ECMA_ERR_MSG ("The parser has been disabled."))); in jerry_parse_function()
611 return jerry_throw (ecma_raise_type_error (ECMA_ERR_MSG (wrong_args_msg_p))); in jerry_run()
619 return jerry_throw (ecma_raise_type_error (ECMA_ERR_MSG (wrong_args_msg_p))); in jerry_run()
629 return jerry_throw (ecma_raise_type_error (ECMA_ERR_MSG (wrong_args_msg_p))); in jerry_run()
1072 return jerry_throw (ecma_raise_type_error (ECMA_ERR_MSG (error_value_msg_p))); in jerry_binary_operation()
1106 return jerry_throw (ecma_raise_type_error (ECMA_ERR_MSG (wrong_args_msg_p))); in jerry_binary_operation()
1125 return jerry_throw (ecma_raise_type_error (ECMA_ERR_MSG ("Unsupported binary operation"))); in jerry_binary_operation()
1322 return jerry_throw (ecma_raise_type_error (ECMA_ERR_MSG (error_value_msg_p))); in jerry_value_to_number()
1344 return jerry_throw (ecma_raise_type_error (ECMA_ERR_MSG (error_value_msg_p))); in jerry_value_to_object()
[all …]
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-reflect.c95 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument is not an Object.")); in ecma_builtin_reflect_dispatch_routine()
163 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument is not an Object.")); in ecma_builtin_reflect_dispatch_routine()
177 return ecma_raise_type_error (ECMA_ERR_MSG ("Target is not a constructor")); in ecma_builtin_reflect_dispatch_routine()
190 return ecma_raise_type_error (ECMA_ERR_MSG ("Target is not a constructor")); in ecma_builtin_reflect_dispatch_routine()
199 …return ecma_raise_type_error (ECMA_ERR_MSG ("Reflect.construct requires the second argument be an … in ecma_builtin_reflect_dispatch_routine()
220 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument is not an Object.")); in ecma_builtin_reflect_dispatch_routine()
233 return ecma_raise_type_error (ECMA_ERR_MSG ("proto is neither Object nor Null.")); in ecma_builtin_reflect_dispatch_routine()
256 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument 'this' is not a function.")); in ecma_builtin_reflect_dispatch_routine()
Decma-builtin-arraybuffer-prototype.c66 return ecma_raise_type_error (ECMA_ERR_MSG ("ArrayBuffer has been detached.")); in ecma_builtin_arraybuffer_prototype_bytelength_getter()
74 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument 'this' is not a ArrayBuffer object.")); in ecma_builtin_arraybuffer_prototype_bytelength_getter()
93 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument 'this' is not object.")); in ecma_builtin_arraybuffer_prototype_object_slice()
100 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument 'this' is not an ArrayBuffer object.")); in ecma_builtin_arraybuffer_prototype_object_slice()
105 return ecma_raise_type_error (ECMA_ERR_MSG ("ArrayBuffer has been detached.")); in ecma_builtin_arraybuffer_prototype_object_slice()
Decma-builtin-regexp-prototype.c65 return ecma_raise_type_error (ECMA_ERR_MSG ("'this' is not a RegExp object")); in ecma_builtin_regexp_prototype_flags_helper()
110 return ecma_raise_type_error (ECMA_ERR_MSG ("'this' value is not an object.")); in ecma_builtin_regexp_prototype_get_flags()
221 return ecma_raise_type_error (ECMA_ERR_MSG ("'this' is not a RegExp object")); in ecma_builtin_regexp_prototype_get_source()
381 return ecma_raise_type_error (ECMA_ERR_MSG ("'this' is not a RegExp object")); in ecma_builtin_regexp_prototype_compile()
400 return ecma_raise_type_error (ECMA_ERR_MSG ("Invalid argument")); in ecma_builtin_regexp_prototype_compile()
444 return ecma_raise_type_error (ECMA_ERR_MSG ("Incomplete RegExp type")); in ecma_builtin_regexp_prototype_exec()
487 return ecma_raise_type_error (ECMA_ERR_MSG ("'this' value is not an object")); in ecma_builtin_regexp_prototype_test()
535 return ecma_raise_type_error (ECMA_ERR_MSG ("'this' value is not an object.")); in ecma_builtin_regexp_prototype_to_string()
583 return ecma_raise_type_error (ECMA_ERR_MSG ("'this' value is not a RegExp object.")); in ecma_builtin_regexp_prototype_to_string()
Decma-builtin-global.c229 return ecma_raise_uri_error (ECMA_ERR_MSG ("Invalid hexadecimal value.")); in ecma_builtin_global_object_decode_uri_helper()
282 ret_value = ecma_raise_uri_error (ECMA_ERR_MSG ("Invalid hexadecimal value.")); in ecma_builtin_global_object_decode_uri_helper()
321 ret_value = ecma_raise_uri_error (ECMA_ERR_MSG ("Invalid UTF8 character.")); in ecma_builtin_global_object_decode_uri_helper()
354 ret_value = ecma_raise_uri_error (ECMA_ERR_MSG ("Invalid UTF8 string.")); in ecma_builtin_global_object_decode_uri_helper()
364 ret_value = ecma_raise_uri_error (ECMA_ERR_MSG ("Invalid UTF8 codepoint.")); in ecma_builtin_global_object_decode_uri_helper()
383 ret_value = ecma_raise_uri_error (ECMA_ERR_MSG ("Invalid CESU8 string.")); in ecma_builtin_global_object_decode_uri_helper()
445 return ecma_raise_uri_error (ECMA_ERR_MSG ("Unicode surrogate pair missing.")); in ecma_builtin_global_object_encode_uri_helper()
454 return ecma_raise_uri_error (ECMA_ERR_MSG ("Unicode surrogate pair missing.")); in ecma_builtin_global_object_encode_uri_helper()
467 return ecma_raise_uri_error (ECMA_ERR_MSG ("Unicode surrogate pair missing.")); in ecma_builtin_global_object_encode_uri_helper()
Decma-builtin-string-iterator-prototype.c57 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument 'this' is not an object.")); in ecma_builtin_string_iterator_prototype_object_next()
67 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument 'this' is not an iterator.")); in ecma_builtin_string_iterator_prototype_object_next()
87 return ecma_raise_range_error (ECMA_ERR_MSG ("String iteration cannot be continued.")); in ecma_builtin_string_iterator_prototype_object_next()
Decma-builtin-object.c182 return ecma_raise_type_error (ECMA_ERR_MSG ("proto is neither Object nor Null.")); in ecma_builtin_object_object_set_prototype_of()
215 return ecma_raise_type_error (ECMA_ERR_MSG ("Cannot set [[Prototype]].")); in ecma_builtin_object_object_set_prototype_of()
279 return ecma_raise_type_error (ECMA_ERR_MSG ("Cannot set [[Prototype]].")); in ecma_builtin_object_object_set_proto()
493 return ecma_raise_type_error (ECMA_ERR_MSG ("Object cannot be sealed.")); in ecma_builtin_object_object_seal()
524 return ecma_raise_type_error (ECMA_ERR_MSG ("Object cannot be frozen.")); in ecma_builtin_object_object_freeze()
557 … return ecma_raise_type_error (ECMA_ERR_MSG ("Cannot set [[Extensible]] property of the object.")); in ecma_builtin_object_object_prevent_extensions()
871 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument is not an object.")); in ecma_builtin_object_object_create()
1125 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument is not an object.")); in ecma_builtin_object_dispatch_routine()
1134 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument is not an object.")); in ecma_builtin_object_dispatch_routine()
Decma-builtin-function-prototype.c111 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument is not an object.")); in ecma_builtin_function_prototype_object_apply()
127 …return ecma_raise_range_error (ECMA_ERR_MSG ("Too many arguments declared for Function.apply().")); in ecma_builtin_function_prototype_object_apply()
391 return ecma_raise_type_error (ECMA_ERR_MSG ("'Function.prototype' is not a constructor.")); in ecma_builtin_function_prototype_dispatch_construct()
417 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument 'this' is not a function.")); in ecma_builtin_function_prototype_dispatch_routine()
Decma-builtin-array-iterator-prototype.c58 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument 'this' is not an object.")); in ecma_builtin_array_iterator_prototype_object_next()
68 return ecma_raise_type_error (ECMA_ERR_MSG ("Argument 'this' is not an iterator.")); in ecma_builtin_array_iterator_prototype_object_next()
Decma-builtin-date-prototype.c169 … ret_value = ecma_raise_type_error (ECMA_ERR_MSG ("'toISOString' is missing or not a function.")); in ecma_builtin_date_prototype_to_json()
223 return ecma_raise_type_error (ECMA_ERR_MSG ("Invalid argument type in toPrimitive.")); in ecma_builtin_date_prototype_to_primitive()
619 return ecma_raise_type_error (ECMA_ERR_MSG ("'this' is not a Date object")); in ecma_builtin_date_prototype_dispatch_routine()
670 return ecma_raise_range_error (ECMA_ERR_MSG ("Date must be a finite number.")); in ecma_builtin_date_prototype_dispatch_routine()
Decma-builtin-dataview-prototype.c117 return ecma_raise_type_error (ECMA_ERR_MSG ("ArrayBuffer has been detached.")); in ecma_builtin_dataview_prototype_object_getters()
127 return ecma_raise_type_error (ECMA_ERR_MSG ("ArrayBuffer has been detached.")); in ecma_builtin_dataview_prototype_object_getters()
/third_party/jerryscript/jerry-core/parser/regexp/
Dre-parser.c235 return ecma_raise_syntax_error (ECMA_ERR_MSG ("quantifier error: min > max.")); in re_check_quantifier()
451 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Invalid escape sequence")); in re_parse_char_escape()
553 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Invalid control escape sequence")); in re_parse_char_escape()
576 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Invalid hex escape sequence")); in re_parse_char_escape()
628 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Invalid unicode escape sequence")); in re_parse_char_escape()
640 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Invalid unicode escape sequence")); in re_parse_char_escape()
656 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Invalid escape")); in re_parse_char_escape()
712 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Invalid escape")); in re_parse_next_token()
765 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Unterminated group")); in re_parse_next_token()
773 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Invalid group")); in re_parse_next_token()
[all …]
/third_party/jerryscript/jerry-core/ecma/base/
Decma-module.c336 … ret_value = ecma_raise_syntax_error (ECMA_ERR_MSG ("No default export in native module.")); in ecma_module_resolve_export()
417 …ret_value = ecma_raise_syntax_error (ECMA_ERR_MSG ("No explicitly defined default export in module… in ecma_module_resolve_export()
466 ret_value = ecma_raise_syntax_error (ECMA_ERR_MSG ("Unexported or circular import request.")); in ecma_module_resolve_export()
693 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Imported binding shadows local variable.")); in ecma_module_connect_imports()
707 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Imported binding shadows local variable.")); in ecma_module_connect_imports()
759 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Ambiguous import request.")); in ecma_module_connect_imports()
863 return ecma_raise_syntax_error (ECMA_ERR_MSG ("File not found.")); in ecma_module_parse()
961 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Ambiguous indirect export request.")); in ecma_module_check_indirect_exports()
/third_party/jerryscript/jerry-core/vm/
Dopcodes-ecma-relational-equality.c110 return ecma_raise_type_error (ECMA_ERR_MSG ("Expected an object in 'instanceof' check.")); in opfunc_instanceof()
159 return ecma_raise_type_error (ECMA_ERR_MSG ("Expected an object in 'in' check.")); in opfunc_in()

123