Bug 1195977, part 1 - Add JS_EXN_TYPE to comment in Errors.msg. r=peterv

This commit is contained in:
Andrew McCreight 2015-09-15 11:47:03 -07:00
parent 74a83af26e
commit 3469809a03

View File

@ -5,7 +5,7 @@
/*
* The format for each error message is:
*
* MSG_DEF(<SYMBOLIC_NAME>, <ARGUMENT_COUNT>, <FORMAT_STRING>)
* MSG_DEF(<SYMBOLIC_NAME>, <ARGUMENT_COUNT>, <JS_EXN_TYPE>, <FORMAT_STRING>)
*
* where
*
@ -14,6 +14,9 @@
* <ARGUMENT_COUNT> is an integer literal specifying the total number of
* replaceable arguments in the following format string.
*
* <JS_EXN_TYPE> is a JSExnType which specifies which kind of error the JS
* engine should throw.
*
* <FORMAT_STRING> is a string literal, containing <ARGUMENT_COUNT> sequences
* {X} where X is an integer representing the argument number that will
* be replaced with a string value when the error is reported.