I am having some doubts about how to gracefully handle a possible error when making an API call. For example, if i have a trivia skill that gets the questions from a API, how do i respond to the user if there is an error while calling the API?
I found the following link: Notifications and Error Handling
In this link there are some recommendations about how to handle it, but i still have issues finding an answer to my problem. For example, should i tell the user there was an error getting the question and to try again, then redirect the user to the previous state??
What if the problem persists and it’s related to the external API? If the user goes through this message two or three times they’ll probable get tired and give up all together.
How would you handle it?
Thanks in advance.