How to handle api failures using Interceptors

You’re ordering food on Swiggy. You tap “Place Order.” Nothing happens. You tap again. Still nothing. So you tap a third time — and your…