Files
node/lib/internal
Denys Otrishko b546a2b469 lib: handle one of args case in ERR_MISSING_ARGS
This makes ERR_MISSING_ARGS handle nested arrays in argument names as
one-of case and will print them as '"arg1" or "arg2" or "arg3"'.

Example:
```js
throw new ERR_MISSING_ARGS(['a', 'b', 'c']);
// will result in message:
// The "a" or "b" or "c" argument must be specified
```

PR-URL: https://github.com/nodejs/node/pull/34022
Fixes: https://github.com/nodejs/node/issues/33930
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
2020-06-24 14:45:08 -07:00
..
2020-06-24 12:33:11 -07:00
2020-01-22 15:33:03 +01:00
2020-05-30 17:24:43 -04:00
2020-05-27 10:24:05 +02:00
2020-01-22 15:33:03 +01:00
2020-06-21 17:21:12 +02:00
2019-11-30 13:58:25 +01:00
2020-06-22 14:29:49 -07:00
2019-12-17 08:11:13 -05:00
2020-06-06 11:11:02 +02:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These modules can be changed at any time. Reliance on these modules outside of core is not supported in any way.