How to properly handle errors on the client - tRPC