Home
last modified time | relevance | path

Searched refs:rangeError (Results 1 – 3 of 3) sorted by relevance

/third_party/node/test/parallel/
Dtest-fs-read-stream-throw-type-error.js28 const rangeError = { variable
51 createReadStreamErr(example, opts, rangeError)
56 createReadStreamErr(example, opts, rangeError)
61 createReadStreamErr(example, opts, rangeError)
68 createReadStreamErr(example, { start: 5, end: 1 }, rangeError);
76 createReadStreamErr(example, opts, rangeError)
Dtest-assert.js382 const rangeError = new RangeError('my range'); constant
386 assert.strictEqual(1, 2, rangeError);
388 assert.strictEqual(e, rangeError);
399 }, TypeError, rangeError);
402 assert.ok(e.message.includes(rangeError.message));
/third_party/node/tools/
Dlint-md.mjs5066 const rangeError = (...args) => { function
5071 if (options.strictRanges === true) throw rangeError([start, end]);
5087 if (options.strictRanges === true) throw rangeError([start, end]);