Introducing ERR_SYSCALL that should be used on failures during syscalls execution.
This commit is contained in:
@@ -69,6 +69,9 @@ jerry_exit( jerry_status_t code) /**< status code */
|
||||
case ERR_MEMORY:
|
||||
__printf("ERR_MEMORY\n");
|
||||
break;
|
||||
case ERR_SYSCALL:
|
||||
JERRY_UNREACHABLE();
|
||||
break;
|
||||
case ERR_GENERAL:
|
||||
__printf("ERR_GENERAL\n");
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user