How to use the _exceptionWithHostPort function from util
Find comprehensive JavaScript util._exceptionWithHostPort code examples handpicked from public code repositorys.
46 47 48 49 50 51 52 53 54 55
// `cluster` is only used by `listenInCluster` so for startup performance // reasons it's lazy loaded. var cluster = null; const errnoException = util._errnoException; const exceptionWithHostPort = util._exceptionWithHostPort; function noop() {} function createHandle(fd, is_server) {
0
3
1
13 14 15 16 17 18 19 20 21 22
var net = require('net') var cluster = require('cluster') var EOF = uv.UV_EOF var ECONNRESET = uv.UV_ECONNRESET var errnoException = util._errnoException var exceptionWithHostPort = util._exceptionWithHostPort var dnsOptions = {hints: dns.ADDRCONFIG} /* istanbul ignore next */ if (!(process.platform in ['freebsd', 'android'])) {
0
0
2
util.promisify is the most popular function in util (378 examples)