| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2809,25 +2809,6 @@ An unspecified or non-specific system error has occurred within the Node.js | |||
| 2809 | 2809 | process. The error object will have an `err.info` object property with | |
| 2810 | 2810 | additional details. | |
| 2811 | 2811 | ||
| 2812 | - <a id="ERR_TAP_LEXER_ERROR"></a> | ||
| 2813 | - | ||
| 2814 | - ### `ERR_TAP_LEXER_ERROR` | ||
| 2815 | - | ||
| 2816 | - An error representing a failing lexer state. | ||
| 2817 | - | ||
| 2818 | - <a id="ERR_TAP_PARSER_ERROR"></a> | ||
| 2819 | - | ||
| 2820 | - ### `ERR_TAP_PARSER_ERROR` | ||
| 2821 | - | ||
| 2822 | - An error representing a failing parser state. Additional information about | ||
| 2823 | - the token causing the error is available via the `cause` property. | ||
| 2824 | - | ||
| 2825 | - <a id="ERR_TAP_VALIDATION_ERROR"></a> | ||
| 2826 | - | ||
| 2827 | - ### `ERR_TAP_VALIDATION_ERROR` | ||
| 2828 | - | ||
| 2829 | - This error represents a failed TAP validation. | ||
| 2830 | - | ||
| 2831 | 2812 | <a id="ERR_TEST_FAILURE"></a> | |
| 2832 | 2813 | ||
| 2833 | 2814 | ### `ERR_TEST_FAILURE` | |
@@ -3863,6 +3844,25 @@ removed: v10.0.0 | |||
| 3863 | 3844 | Used when an attempt is made to use a readable stream that has not implemented | |
| 3864 | 3845 | [`readable._read()`][]. | |
| 3865 | 3846 | ||
| 3847 | + <a id="ERR_TAP_LEXER_ERROR"></a> | ||
| 3848 | + | ||
| 3849 | + ### `ERR_TAP_LEXER_ERROR` | ||
| 3850 | + | ||
| 3851 | + An error representing a failing lexer state. | ||
| 3852 | + | ||
| 3853 | + <a id="ERR_TAP_PARSER_ERROR"></a> | ||
| 3854 | + | ||
| 3855 | + ### `ERR_TAP_PARSER_ERROR` | ||
| 3856 | + | ||
| 3857 | + An error representing a failing parser state. Additional information about | ||
| 3858 | + the token causing the error is available via the `cause` property. | ||
| 3859 | + | ||
| 3860 | + <a id="ERR_TAP_VALIDATION_ERROR"></a> | ||
| 3861 | + | ||
| 3862 | + ### `ERR_TAP_VALIDATION_ERROR` | ||
| 3863 | + | ||
| 3864 | + This error represents a failed TAP validation. | ||
| 3865 | + | ||
| 3866 | 3866 | <a id="ERR_TLS_RENEGOTIATION_FAILED"></a> | |
| 3867 | 3867 | ||
| 3868 | 3868 | ### `ERR_TLS_RENEGOTIATION_FAILED` | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1739,21 +1739,6 @@ E('ERR_STREAM_WRAP', 'Stream has StringDecoder set or is in objectMode', Error); | |||
| 1739 | 1739 | E('ERR_STREAM_WRITE_AFTER_END', 'write after end', Error); | |
| 1740 | 1740 | E('ERR_SYNTHETIC', 'JavaScript Callstack', Error); | |
| 1741 | 1741 | E('ERR_SYSTEM_ERROR', 'A system error occurred', SystemError, HideStackFramesError); | |
| 1742 | - E('ERR_TAP_LEXER_ERROR', function(errorMsg) { | ||
| 1743 | - hideInternalStackFrames(this); | ||
| 1744 | - return errorMsg; | ||
| 1745 | - }, Error); | ||
| 1746 | - E('ERR_TAP_PARSER_ERROR', function(errorMsg, details, tokenCausedError, source) { | ||
| 1747 | - hideInternalStackFrames(this); | ||
| 1748 | - this.cause = tokenCausedError; | ||
| 1749 | - const { column, line, start, end } = tokenCausedError.location; | ||
| 1750 | - const errorDetails = `${details} at line ${line}, column ${column} (start ${start}, end ${end})`; | ||
| 1751 | - return errorMsg + errorDetails; | ||
| 1752 | - }, SyntaxError); | ||
| 1753 | - E('ERR_TAP_VALIDATION_ERROR', function(errorMsg) { | ||
| 1754 | - hideInternalStackFrames(this); | ||
| 1755 | - return errorMsg; | ||
| 1756 | - }, Error); | ||
| 1757 | 1742 | E('ERR_TEST_FAILURE', function(error, failureType) { | |
| 1758 | 1743 | hideInternalStackFrames(this); | |
| 1759 | 1744 | assert(typeof failureType === 'string' || typeof failureType === 'symbol', | |
| Back | FazBrowse Home | New Git URL |
0 commit comments