correct way to handle errors run time errors - tRPC