CONTRIBUTING.md: remove $ERROR from docs

This commit is contained in:
rwaldron 2021-07-20 15:15:49 -04:00 committed by Rick Waldron
parent e4c53bef51
commit 44aac8eadd
1 changed files with 0 additions and 1 deletions

View File

@ -241,7 +241,6 @@ Function | Purpose
`assert.throws(expectedErrorConstructor, fn, message)` | throw a new Test262Error instance if the provided function does not throw an error, or if the constructor of the value thrown does not match the provided constructor
`$DONOTEVALUATE()` | throw an exception if the code gets evaluated. This may only be used in [negative test cases for parsing errors](#handling-errors-and-negative-test-cases).
`throw "Test262: This statement should not be evaluated.";` | throw an exception if the code gets evaluated. Use this if the test file has the `raw` flag and it's a negative test case for parsing error.
`$ERROR(message)` | construct a Test262Error object and throw it <br>**DEPRECATED** -- Do not use in new tests. Use `assert`, `assert.*`, or `throw new Test262Error` instead.
```javascript
/// error class