|
|
|
|
|
by chaz6
1563 days ago
|
|
My view is that apis should simply return a number when an error occurs. The vendor should supply a list of error codes to its consumers, translated into as many languages as necessary. The developers who are consuming the api can then determine how best to present the error to its end users. A set of error numbers is tied to the version of the api that is being consumed so there should be no surprises. |
|
Is that what you're saying? Or did I misunderstand you?