errors: alter ERR_INVALID_PROTOCOL
changes the base instance for ERR_INVALID_PROTOCOL from Error to TypeError as a more accurate representation of the error.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines