I have a map where I load map from a third party WMTS service and overlays from another third party WMS Service. I experience timout errors from these services from time to time. They are printed in the log, but is there a way to get notified about these loading errors in a callback so I can log them myself?
I use the load function on AGSWMTSService (similarly on AGSWMSService) and it loads with an optional error object. This loads fine - it is only when navigating the map and tiles have to load individually that it sometimes fails loading some tiles with timeouts.