MCPcopy Create free account
hub / github.com/nodejs/undici / onResponseError

Function onResponseError

test/node-test/client-dispatch.js:46–49  ·  view source on GitHub ↗
(_controller, err)

Source from the content-addressed store, hash-verified

44 upgrade: 1
45 }, {
46 onResponseError (_controller, err) {
47 p.ok(err instanceof errors.InvalidArgumentError)
48 p.strictEqual(err.message, 'upgrade must be a string')
49 }
50 })
51
52 client.dispatch({

Callers

nothing calls this directly

Calls 1

okMethod · 0.80

Tested by

no test coverage detected