stream: improve the error message of `ERR_INVALID_ARG_TYPE`
The expected
argument of ERR_INVALID_ARG_TYPE
can be an array, which is better than a single string.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
stream