Rename the jerry_value_has_error_flag function. (#2290)
Rename the function to represent it's real functionality. JerryScript-DCO-1.0-Signed-off-by: Istvan Miklos imiklos2@inf.u-szeged.hu
This commit is contained in:
committed by
László Langó
parent
d672d1e71c
commit
ba2e49caaa
@@ -244,7 +244,7 @@ my_external_handler (const jerry_value_t function_obj,
|
||||
mapping,
|
||||
4);
|
||||
|
||||
if (jerry_value_has_error_flag (rv))
|
||||
if (jerry_value_is_error (rv))
|
||||
{
|
||||
/* Handle error. */
|
||||
return rv;
|
||||
@@ -640,7 +640,7 @@ my_external_handler (const jerry_value_t function_obj,
|
||||
mapping,
|
||||
1);
|
||||
|
||||
if (jerry_value_has_error_flag (rv))
|
||||
if (jerry_value_is_error (rv))
|
||||
{
|
||||
/* Handle error. */
|
||||
return rv;
|
||||
@@ -731,7 +731,7 @@ my_external_handler (const jerry_value_t function_obj,
|
||||
mapping,
|
||||
1);
|
||||
|
||||
if (jerry_value_has_error_flag (rv))
|
||||
if (jerry_value_is_error (rv))
|
||||
{
|
||||
/* Handle error. */
|
||||
return rv;
|
||||
|
||||
Reference in New Issue
Block a user