Lines Matching refs:code
430 assert(err.code !== 'ERR_TLS_CERT_ALTNAME_INVALID')
437 function onHttp2FrameError (type, code, id) {
438 const err = new InformationalError(`HTTP/2: "frameError" received - type ${type}, code ${code}`)
451 function onHTTP2GoAway (code) {
453 const err = new InformationalError(`HTTP/2: "GOAWAY" frame received with code ${code}`)
670 // The return value is an error code or `constants.ERROR.OK`.
1070 assert(err.code !== 'ERR_TLS_CERT_ALTNAME_INVALID')
1075 if (err.code === 'ECONNRESET' && parser.statusCode && !parser.shouldKeepAlive) {
1090 err.code !== 'UND_ERR_INFO' &&
1091 err.code !== 'UND_ERR_SOCKET'
1147 } else if (client[kRunning] > 0 && err.code !== 'UND_ERR_INFO') {
1229 code: 'UNDICI-H2'
1313 if (err.code === 'ERR_TLS_CERT_ALTNAME_INVALID') {
1817 stream.once('frameError', (type, code) => {
1818 const err = new InformationalError(`HTTP/2: "frameError" received - type ${type}, code ${code}`)
2002 if (err && (err.code !== 'UND_ERR_INFO' || err.message !== 'reset')) {