1. typedef struct {
    2. const char* error_message;
    3. void* engine_reserved;
    4. uint32_t engine_error_code;
    5. napi_status error_code;
    6. } napi_extended_error_info;
    • error_message: UTF8-encoded string containing a VM-neutral description of the error.
    • engine_reserved: Reserved for VM-specific error details. This is currently not implemented for any VM.
    • engine_error_code: VM-specific error code. This is currently not implemented for any VM.
    • error_code: The N-API status code that originated with the last error.

    See the [Error handling][] section for additional information.