| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2786,25 +2786,6 @@ An unspecified or non-specific system error has occurred within the Node.js | |||
| 2786 | 2786 | process. The error object will have an `err.info` object property with | |
| 2787 | 2787 | additional details. | |
| 2788 | 2788 | ||
| 2789 | - <a id="ERR_TAP_LEXER_ERROR"></a> | ||
| 2790 | - | ||
| 2791 | - ### `ERR_TAP_LEXER_ERROR` | ||
| 2792 | - | ||
| 2793 | - An error representing a failing lexer state. | ||
| 2794 | - | ||
| 2795 | - <a id="ERR_TAP_PARSER_ERROR"></a> | ||
| 2796 | - | ||
| 2797 | - ### `ERR_TAP_PARSER_ERROR` | ||
| 2798 | - | ||
| 2799 | - An error representing a failing parser state. Additional information about | ||
| 2800 | - the token causing the error is available via the `cause` property. | ||
| 2801 | - | ||
| 2802 | - <a id="ERR_TAP_VALIDATION_ERROR"></a> | ||
| 2803 | - | ||
| 2804 | - ### `ERR_TAP_VALIDATION_ERROR` | ||
| 2805 | - | ||
| 2806 | - This error represents a failed TAP validation. | ||
| 2807 | - | ||
| 2808 | 2789 | <a id="ERR_TEST_FAILURE"></a> | |
| 2809 | 2790 | ||
| 2810 | 2791 | ### `ERR_TEST_FAILURE` | |
@@ -3608,6 +3589,25 @@ removed: v10.0.0 | |||
| 3608 | 3589 | Used when an attempt is made to use a readable stream that has not implemented | |
| 3609 | 3590 | [`readable._read()`][]. | |
| 3610 | 3591 | ||
| 3592 | + <a id="ERR_TAP_LEXER_ERROR"></a> | ||
| 3593 | + | ||
| 3594 | + ### `ERR_TAP_LEXER_ERROR` | ||
| 3595 | + | ||
| 3596 | + An error representing a failing lexer state. | ||
| 3597 | + | ||
| 3598 | + <a id="ERR_TAP_PARSER_ERROR"></a> | ||
| 3599 | + | ||
| 3600 | + ### `ERR_TAP_PARSER_ERROR` | ||
| 3601 | + | ||
| 3602 | + An error representing a failing parser state. Additional information about | ||
| 3603 | + the token causing the error is available via the `cause` property. | ||
| 3604 | + | ||
| 3605 | + <a id="ERR_TAP_VALIDATION_ERROR"></a> | ||
| 3606 | + | ||
| 3607 | + ### `ERR_TAP_VALIDATION_ERROR` | ||
| 3608 | + | ||
| 3609 | + This error represents a failed TAP validation. | ||
| 3610 | + | ||
| 3611 | 3611 | <a id="ERR_TLS_RENEGOTIATION_FAILED"></a> | |
| 3612 | 3612 | ||
| 3613 | 3613 | ### `ERR_TLS_RENEGOTIATION_FAILED` | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1772,21 +1772,6 @@ E('ERR_STREAM_WRAP', 'Stream has StringDecoder set or is in objectMode', Error); | |||
| 1772 | 1772 | E('ERR_STREAM_WRITE_AFTER_END', 'write after end', Error); | |
| 1773 | 1773 | E('ERR_SYNTHETIC', 'JavaScript Callstack', Error); | |
| 1774 | 1774 | E('ERR_SYSTEM_ERROR', 'A system error occurred', SystemError, HideStackFramesError); | |
| 1775 | - E('ERR_TAP_LEXER_ERROR', function(errorMsg) { | ||
| 1776 | - hideInternalStackFrames(this); | ||
| 1777 | - return errorMsg; | ||
| 1778 | - }, Error); | ||
| 1779 | - E('ERR_TAP_PARSER_ERROR', function(errorMsg, details, tokenCausedError, source) { | ||
| 1780 | - hideInternalStackFrames(this); | ||
| 1781 | - this.cause = tokenCausedError; | ||
| 1782 | - const { column, line, start, end } = tokenCausedError.location; | ||
| 1783 | - const errorDetails = `${details} at line ${line}, column ${column} (start ${start}, end ${end})`; | ||
| 1784 | - return errorMsg + errorDetails; | ||
| 1785 | - }, SyntaxError); | ||
| 1786 | - E('ERR_TAP_VALIDATION_ERROR', function(errorMsg) { | ||
| 1787 | - hideInternalStackFrames(this); | ||
| 1788 | - return errorMsg; | ||
| 1789 | - }, Error); | ||
| 1790 | 1775 | E('ERR_TEST_FAILURE', function(error, failureType) { | |
| 1791 | 1776 | hideInternalStackFrames(this); | |
| 1792 | 1777 | assert(typeof failureType === 'string' || typeof failureType === 'symbol', | |
| Back | FazBrowse Home | New Git URL |
0 commit comments