tjrourke

Is there a list of all errors, codes, etc. for the API?

Discussion created by tjrourke on Oct 30, 2012
Latest reply on Oct 31, 2012 by sunilpalkar
Another development team is about to deploy an application using a new map tool we built. It will be used by thousands of users who aren't necessarily computer-literate or experienced with online maps. The other team wants the map application to always display the map data no matter what. Corporate policies, networks and security make that impossible, so we want to be proactive and catch every error and inform the user.

We need to intercept errors and display messages using plain language the users will be able to understand. So we need to be able to script every possible error from the API and keep the user engaged

I can't find anyplace in the ArcGIS JavaScript API that lists the errors and error codes (some errors don't have defined codes) so we can handle all possibilities. Does anyone know if there is such a document anywhere, and can point me toward it? We are using versions 2.5 - 2.7.

Outcomes