We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

JSErrorFormatString

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,