Correct way of handling error on clientside - tRPC