Files
node/lib
Daniel Bevenius b25e6abc68 crypto: extract throwInvalidArgType function
This commit extracts the throwing of ERR_INVALID_ARG_TYPE which is done
in identical ways in a few places in cipher.js.

The motivation for this is that I think it improves readability enough to
warrant a commit even though I'm aware that we should avoid commits with
only these sort of refactoring.

PR-URL: https://github.com/nodejs/node/pull/22947
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2018-10-03 08:08:21 +02:00
..
2018-08-22 17:27:16 -04:00
2018-08-24 18:37:35 -07:00
2018-09-05 21:53:11 -04:00
2018-09-16 10:00:36 +02:00
2018-07-16 15:55:15 -07:00
2018-09-05 21:53:11 -04:00
…
2018-10-02 22:43:10 +02:00
2018-09-14 18:27:57 +02:00