This article covers features introduced in SpiderMonkey 17
Represent error message and type.
Syntax
typedef struct JSErrorFormatString {
    const char *format;
    uint16_t argCount;
    int16_t exnType;
} JSErrorFormatString;
| Name | Type | Description | 
|---|---|---|
| format | const char * | The error format string in ASCII. | 
| argCount | uint16_t | The number of arguments to expand in the formatted error message. | 
| exnType | int16_t | One of the JSExnTypeconstants. | 
Description
JSErrorFormatString is a struct to represent error message and type, returned by JS_ReportErrorNumber function.