You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Question
Using this request as example:
Which is the correct way of handling error ? A or B
A
B
Notes
If would prefer B, because is less verbose, but I've fear that some errors are only available on
response.error
and not onresponse.data.error
.There is a docs page that explain better the difference between HTTP API and SDK API ?
The Lemon Squezzy Docs for this request explain the HTTP API and not the SDK API.
Beta Was this translation helpful? Give feedback.
All reactions