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

Function throws

test/parallel/test-http-invalid-urls.js:22–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 `${module}.${fn} should not connect to ${host}`
21 );
22 const throws = () => { modules[module][fn](host, doNotCall); };
23 assert.throws(throws, {
24 name: 'TypeError',
25 code: 'ERR_INVALID_URL'

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…