diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-06-09 11:27:16 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-07-18 22:38:30 -0400 |
commit | 9a7113f7c8d89d27558942f42603c4edee779d20 (patch) | |
tree | 6dbbed1ba3165abff6e35055879f570685a35b69 /js/src/jscntxt.h | |
parent | d27591806950034d8d3763a13db6f2c201311991 (diff) | |
download | UXP-9a7113f7c8d89d27558942f42603c4edee779d20.tar UXP-9a7113f7c8d89d27558942f42603c4edee779d20.tar.gz UXP-9a7113f7c8d89d27558942f42603c4edee779d20.tar.lz UXP-9a7113f7c8d89d27558942f42603c4edee779d20.tar.xz UXP-9a7113f7c8d89d27558942f42603c4edee779d20.zip |
1283712 - Part 1: Add JSErrorBase, JSErrorNotes, JSErrorNotes::Note, and JSErrorReport.{notes,freeNotes}.
Diffstat (limited to 'js/src/jscntxt.h')
-rw-r--r-- | js/src/jscntxt.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/js/src/jscntxt.h b/js/src/jscntxt.h index 0a2841242..c1e676f68 100644 --- a/js/src/jscntxt.h +++ b/js/src/jscntxt.h @@ -621,6 +621,13 @@ ExpandErrorArgumentsVA(ExclusiveContext* cx, JSErrorCallback callback, ErrorArgumentsType argumentsType, JSErrorReport* reportp, va_list ap); +extern bool +ExpandErrorArgumentsVA(JSContext* cx, JSErrorCallback callback, + void* userRef, const unsigned errorNumber, + const char16_t** messageArgs, + ErrorArgumentsType argumentsType, + JSErrorNotes::Note* notep, va_list ap); + /* |callee| requires a usage string provided by JS_DefineFunctionsWithHelp. */ extern void ReportUsageErrorASCII(JSContext* cx, HandleObject callee, const char* msg); |