Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

JSErrorFormatString

This article needs a technical review. How you can help.

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 JSExnType constants.

Description

JSErrorFormatString is a struct to represent error message and type, returned by JS_ReportErrorNumber function.

See Also

Document Tags and Contributors

 Contributors to this page: kscarfone, arai
 Last updated by: kscarfone,