Thrown on a non-2xx response from the Throttle Discounts API.
Extends the shared ThrottleError so a single catch (e) { if (e instanceof ThrottleError) … } covers errors from every Throttle SDK. instanceof ThrottleDiscountsError keeps working.
catch (e) { if (e instanceof ThrottleError) … }
instanceof ThrottleDiscountsError
Thrown on a non-2xx response from the Throttle Discounts API.
Extends the shared ThrottleError so a single
catch (e) { if (e instanceof ThrottleError) … }covers errors from every Throttle SDK.instanceof ThrottleDiscountsErrorkeeps working.