Commit 28e4e43
committed
errors: make input mandatory
Using ERR_INVALID_ARG_TYPE will now require the received value as
well. This makes sure the errors are always expressive. It also
drops support for using an array as name argument.
PR-URL: #19445
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>1 parent b38c81c commit 28e4e43
1 file changed
+5
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
936 | 936 | | |
937 | 937 | | |
938 | 938 | | |
939 | | - | |
| 939 | + | |
| 940 | + | |
940 | 941 | | |
941 | 942 | | |
942 | 943 | | |
| |||
948 | 949 | | |
949 | 950 | | |
950 | 951 | | |
951 | | - | |
952 | | - | |
953 | | - | |
954 | | - | |
955 | | - | |
| 952 | + | |
| 953 | + | |
956 | 954 | | |
957 | 955 | | |
958 | 956 | | |
959 | 957 | | |
960 | 958 | | |
961 | 959 | | |
962 | | - | |
963 | 960 | | |
964 | | - | |
965 | | - | |
| 961 | + | |
966 | 962 | | |
967 | 963 | | |
968 | 964 | | |
| |||
0 commit comments