Capture TRPCClientError so that it does not show in the client's browser console

If a TRPCError is thrown from a router procedure, the client will receive a TRPCClientError that will display in the client's browser console. Is there any way to capture this error so that it does not show in the client's browser console?