This is not necessarily a Flex-specific question, but I'll use Flex in my example:
Scenario: We have a fairly complex MVC Flex application that uses remoting and makes several asynchronous calls on a single page. Some of the calls are:
- GetUserOrders
- GetCurrentOrder
- GetUserDetails
If there is a network or DB error, this will throw three separate error messages to the user and require three "OK" clicks. We are considering collecting all errors messages in a singleton array and displaying as a list in a common error message box.
What are best practices around gracefully handle multiple asynchronous errors on a single page--specifically when we need to alert users that there was an error?