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

Function assertPrivateSymbol

lib/internal/quic/quic.js:1002–1006  ·  view source on GitHub ↗
(privateSymbol)

Source from the content-addressed store, hash-verified

1000});
1001
1002function assertPrivateSymbol(privateSymbol) {
1003 if (privateSymbol !== kPrivateConstructor) {
1004 throw new ERR_ILLEGAL_CONSTRUCTOR();
1005 }
1006}
1007
1008// QUIC error codes are 62-bit varints (RFC 9000 section 16). The
1009// maximum representable code is 2**62 - 1.

Callers 2

constructorMethod · 0.85
constructorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected