Integral status code indicating the success or failure of a N-API call. Currently, the following status codes are supported.
typedef enum {napi_ok,napi_invalid_arg,napi_object_expected,napi_string_expected,napi_name_expected,napi_function_expected,napi_number_expected,napi_boolean_expected,napi_array_expected,napi_generic_failure,napi_pending_exception,napi_cancelled,napi_escape_called_twice,napi_handle_scope_mismatch,napi_callback_scope_mismatch,napi_queue_full,napi_closing,napi_bigint_expected,napi_date_expected,napi_arraybuffer_expected,napi_detachable_arraybuffer_expected,napi_would_deadlock, /* unused */} napi_status;
If additional information is required upon an API returning a failed status,
it can be obtained by calling napi_get_last_error_info.
