Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions deps/ngtcp2/ngtcp2.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@
'defines': [
'BUILDING_NGHTTP3',
'NGHTTP3_STATICLIB',
'DEBUGBUILD',
],
'dependencies': [
'ngtcp2'
Expand Down Expand Up @@ -247,7 +248,10 @@
},
{
'target_name': 'ngtcp2_test_server',
'type': 'executable',
# Disabled: ngtcp2 examples now require C++23 (<print>, <expected>,
# std::println, std::expected) which is not yet supported on all
# Node.js platforms. Re-enable when C++23 is available.
'type': 'none',
'cflags': [ '-Wno-everything' ],
'include_dirs': [
'',
Expand Down Expand Up @@ -305,7 +309,10 @@
},
{
'target_name': 'ngtcp2_test_client',
'type': 'executable',
# Disabled: ngtcp2 examples now require C++23 (<print>, <expected>,
# std::println, std::expected) which is not yet supported on all
# Node.js platforms. Re-enable when C++23 is available.
'type': 'none',
'cflags': [ '-Wno-everything' ],
'include_dirs': [
'',
Expand Down
27 changes: 27 additions & 0 deletions doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -2651,6 +2651,32 @@ added:

Opening a QUIC stream failed.

<a id="ERR_QUIC_STREAM_ABORTED"></a>

### `ERR_QUIC_STREAM_ABORTED`

<!-- YAML
added: REPLACEME
-->

> Stability: 1 - Experimental

The Node.js error code for a [`QuicError`][] thrown to abort a QUIC stream
or session with an explicit application or transport error code.

<a id="ERR_QUIC_STREAM_RESET"></a>

### `ERR_QUIC_STREAM_RESET`

<!-- YAML
added: REPLACEME
-->

> Stability: 1 - Experimental

A QUIC stream was reset by the peer. The error includes the reset code
provided by the peer.

<a id="ERR_QUIC_TRANSPORT_ERROR"></a>

### `ERR_QUIC_TRANSPORT_ERROR`
Expand Down Expand Up @@ -4436,6 +4462,7 @@ An error occurred trying to allocate memory. This should never happen.
[`MessagePort`]: worker_threads.md#class-messageport
[`Object.getPrototypeOf`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getPrototypeOf
[`Object.setPrototypeOf`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/setPrototypeOf
[`QuicError`]: quic.md#class-quicerror
[`REPL`]: repl.md
[`ServerResponse`]: http.md#class-httpserverresponse
[`Writable`]: stream.md#class-streamwritable
Expand Down
Loading
Loading