[TensorPipe] Avoid using deprecated alias for error (#48168)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/48168
TensorPipe deduplicated a set of error (which existed both under the ::transport and the ::channel namespaces). The old names were kept as aliases but we should migrate to the new ones.
ghstack-source-id: 116989010
Test Plan: CI
Reviewed By: beauby
Differential Revision: D25051218
fbshipit-source-id: caef27f1a0ff0e6f0b8b09fa92d6f79641c1e17a