Home
last modified time | relevance | path

Searched refs:getSystemErrorName (Results 1 – 24 of 24) sorted by relevance

/third_party/node/test/parallel/
Dtest-uv-errno.js7 getSystemErrorName,
21 assert.strictEqual(getSystemErrorName(uv[key]), name);
23 assert.strictEqual(err.code, getSystemErrorName(err.errno));
53 runTest(getSystemErrorName);
Dtest-child-process-execfilesync-maxbuf.js8 const { getSystemErrorName } = require('util');
25 assert.strictEqual(getSystemErrorName(e.errno), 'ENOBUFS');
50 assert.strictEqual(getSystemErrorName(e.errno), 'ENOBUFS');
Dtest-child-process-execsync-maxbuf.js8 const { getSystemErrorName } = require('util');
25 assert.strictEqual(getSystemErrorName(e.errno), 'ENOBUFS');
52 assert.strictEqual(getSystemErrorName(e.errno), 'ENOBUFS');
Dtest-child-process-spawnsync-maxbuf.js9 const { getSystemErrorName } = require('util');
24 assert.strictEqual(getSystemErrorName(ret.error.errno), 'ENOBUFS');
45 assert.strictEqual(getSystemErrorName(ret.error.errno), 'ENOBUFS');
Dtest-child-process-spawnsync-timeout.js27 const { debuglog, getSystemErrorName } = require('util');
45 assert.strictEqual(getSystemErrorName(ret.error.errno), 'ETIMEDOUT');
Dtest-stdout-close-catch.js6 const { getSystemErrorName } = require('util');
32 assert.strictEqual(getSystemErrorName(output.errno), 'EPIPE');
Dtest-child-process-spawnsync.js29 const { getSystemErrorName } = require('util');
40 assert.strictEqual(getSystemErrorName(ret_err.errno), 'ENOENT');
Dtest-child-process-spawn-error.js24 const { getSystemErrorName } = require('util');
51 assert.strictEqual(getSystemErrorName(err.errno), 'ENOENT');
Dtest-net-normalize-args.js7 const { getSystemErrorName } = require('util');
36 assert(possibleErrors.includes(getSystemErrorName(err.errno)));
Dtest-dgram-send-error.js8 const { getSystemErrorName } = require('util');
54 assert.strictEqual(getSystemErrorName(err.errno), 'UNKNOWN');
Dtest-child-process-execfile.js8 const { getSystemErrorName } = require('util');
34 assert.strictEqual(err.code, getSystemErrorName(code));
Dtest-net-server-listen-handle.js8 const { getSystemErrorName } = require('util');
53 assert.fail(`unable to bind ${handleName}: ${getSystemErrorName(errno)}`);
/third_party/node/lib/
Dutil.js62 getSystemErrorName: internalErrorName,
315 function getSystemErrorName(err) { function
335 getSystemErrorName, property
Dchild_process.js37 getSystemErrorName
385 ex.code = code < 0 ? getSystemErrorName(code) : code;
/third_party/node/test/sequential/
Dtest-child-process-execsync.js30 const { getSystemErrorName } = require('util');
55 assert.strictEqual(getSystemErrorName(e.errno), 'ETIMEDOUT');
Dtest-async-wrap-getasyncid.js14 const { getSystemErrorName } = require('util');
252 throw new Error(`write failed: ${getSystemErrorName(err)}`);
/third_party/node/lib/internal/
Dutil.js303 function getSystemErrorName(err) { function
473 getSystemErrorName, property
Derrors.js529 const code = util.getSystemErrorName(err);
563 const code = util.getSystemErrorName(err);
615 code = lazyInternalUtil().getSystemErrorName(code);
/third_party/node/test/internet/
Dtest-dns.js27 const { getSystemErrorName } = require('util');
77 assert.strictEqual(getSystemErrorName(err.errno), 'EINVAL');
/third_party/node/doc/api/
Dutil.md360 ## `util.getSystemErrorName(err)`
374 const name = util.getSystemErrorName(err.errno);
Ddeprecations.md2210 [`util.getSystemErrorName()`][] instead.
2767 [`util.getSystemErrorName()`]: util.md#util_util_getsystemerrorname_err
Derrors.md467 [`util.getSystemErrorName(error.errno)`][].
2661 [`util.getSystemErrorName(error.errno)`]: util.md#util_util_getsystemerrorname_err
/third_party/node/doc/changelogs/
DCHANGELOG_V9.md660 …/node/commit/8e31bf42cf)] - **util**: skip type checks in internal getSystemErrorName (Joyee Cheun…
661 …/commit/28fa906ec1)] - **(SEMVER-MINOR)** **util**: implement util.getSystemErrorName() (Joyee Che…
DCHANGELOG_V8.md596 …* implement util.getSystemErrorName() (Joyee Cheung) [#18186](https://github.com/nodejs/node/pull/…
874 …/node/commit/66520afdb8)] - **util**: skip type checks in internal getSystemErrorName (Joyee Cheun…
875 …/commit/58b5a610d8)] - **(SEMVER-MINOR)** **util**: implement util.getSystemErrorName() (Joyee Che…