MCPcopy Index your code
hub / github.com/nodejs/node / wireCodeOf

Function wireCodeOf

test/parallel/test-quic-stream-writer-fail-error-code.mjs:35–38  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

33const { QuicError } = await import('node:quic');
34
35function wireCodeOf(err) {
36 strictEqual(err.code, 'ERR_QUIC_APPLICATION_ERROR');
37 return err.errorCode;
38}
39
40// Server: capture the next two streams. Each stream receives an
41// onreset handler synchronously inside onstream so the C++ -> JS

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…