GeezerVison is showing github.com — quic: update more QUIC implementation · nodejs/node@c907b2f
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: doc/api/errors.md +36Lines changed: 36 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2447,6 +2447,18 @@ Accessing `Object.prototype.__proto__` has been forbidden using | 2447 | 2447 | [`Object.setPrototypeOf`][] should be used to get and set the prototype of an | 2448 | 2448 | object. | 2449 | 2449 |
| | 2450 | +<a id="ERR_QUIC_APPLICATION_ERROR"></a> | | 2451 | + | | 2452 | +### `ERR_QUIC_APPLICATION_ERROR` | | 2453 | + | | 2454 | +<!-- YAML | | 2455 | +added: REPLACEME | | 2456 | +--> | | 2457 | + | | 2458 | +> Stability: 1 - Experimental | | 2459 | +
| | 2460 | +A QUIC application error occurred. | | 2461 | + | 2450 | 2462 | <a id="ERR_QUIC_CONNECTION_FAILED"></a> | 2451 | 2463 |
| 2452 | 2464 | ### `ERR_QUIC_CONNECTION_FAILED` | @@ -2483,6 +2495,30 @@ added: v22.10.0 | 2483 | 2495 |
| 2484 | 2496 | Opening a QUIC stream failed. | 2485 | 2497 |
| | 2498 | +<a id="ERR_QUIC_TRANSPORT_ERROR"></a> | | 2499 | + | | 2500 | +### `ERR_QUIC_TRANSPORT_ERROR` | | 2501 | + | | 2502 | +<!-- YAML | | 2503 | +added: REPLACEME | | 2504 | +--> | | 2505 | + | | 2506 | +> Stability: 1 - Experimental | | 2507 | +
| | 2508 | +A QUIC transport error occurred. | | 2509 | + | | 2510 | +<a id="ERR_QUIC_VERSION_NEGOTIATION_ERROR"></a> | | 2511 | + | | 2512 | +### `ERR_QUIC_VERSION_NEGOTIATION_ERROR` | | 2513 | + | | 2514 | +<!-- YAML | | 2515 | +added: REPLACEME | | 2516 | +--> | | 2517 | + | | 2518 | +> Stability: 1 - Experimental | | 2519 | +
| | 2520 | +A QUIC session failed because version negotiation is required. | | 2521 | + | 2486 | 2522 | <a id="ERR_REQUIRE_ASYNC_MODULE"></a> | 2487 | 2523 |
| 2488 | 2524 | ### `ERR_REQUIRE_ASYNC_MODULE` | |
Collapse file Copy file name to clipboardExpand all lines: lib/internal/errors.js +3Lines changed: 3 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -1651,9 +1651,12 @@ E('ERR_PARSE_ARGS_UNKNOWN_OPTION', (option, allowPositionals) => { | 1651 | 1651 | E('ERR_PERFORMANCE_INVALID_TIMESTAMP', | 1652 | 1652 | '%d is not a valid timestamp', TypeError); | 1653 | 1653 | E('ERR_PERFORMANCE_MEASURE_INVALID_OPTIONS', '%s', TypeError); | | 1654 | +E('ERR_QUIC_APPLICATION_ERROR', 'A QUIC application error occurred. %d [%s]', Error); | 1654 | 1655 | E('ERR_QUIC_CONNECTION_FAILED', 'QUIC connection failed', Error); | 1655 | 1656 | E('ERR_QUIC_ENDPOINT_CLOSED', 'QUIC endpoint closed: %s (%d)', Error); | 1656 | 1657 | E('ERR_QUIC_OPEN_STREAM_FAILED', 'Failed to open QUIC stream', Error); | | 1658 | +E('ERR_QUIC_TRANSPORT_ERROR', 'A QUIC transport error occurred. %d [%s]', Error); | | 1659 | +E('ERR_QUIC_VERSION_NEGOTIATION_ERROR', 'The QUIC session requires version negotiation', Error); | 1657 | 1660 | E('ERR_REQUIRE_ASYNC_MODULE', 'require() cannot be used on an ESM ' + | 1658 | 1661 | 'graph with top-level await. Use import() instead. To see where the' + | 1659 | 1662 | ' top-level await comes from, use --experimental-print-required-tla.', Error); | |
|