Skip to content

JSRuntime.napi_status enumeration

C#
public enum napi_status

Values

namevaluedescription
napi_ok0
napi_invalid_arg1
napi_object_expected2
napi_string_expected3
napi_name_expected4
napi_function_expected5
napi_number_expected6
napi_boolean_expected7
napi_array_expected8
napi_generic_failure9
napi_pending_exception10
napi_cancelled11
napi_escape_called_twice12
napi_handle_scope_mismatch13
napi_callback_scope_mismatch14
napi_queue_full15
napi_closing16
napi_bigint_expected17
napi_date_expected18
napi_arraybuffer_expected19
napi_detachable_arraybuffer_expected20
napi_would_deadlock21

See Also

Released under the MIT license