Error messages when localizing software using API
Hi, everybody!
I have a question. If I try to localize a piece of software using an external API, how should I handle error messages that originate from this API?
I do not control the API; I merely use it. The error responses are not very structured; Some contain error codes, while others contain verbose details in the text. Others show almost nothing.Â
Some of these errors are due to incorrect configuration, which can be fixed by the user while a few are caused by the external service especially when there is server overload. Some are also caused by bugs in my software but this would be very unlikely.Â
I want to provide a satisfactory experience to my end-users, where they are able to know what went wrong and what step they need to follow to fix it.
How can I overcome this issue? Please help me.
Thanks in advance.