internal: rename error-serdes for consistency
All other JavaScript files in lib use snake case, so make this one consistent.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines