1.2k questions
1.4k answers
361 comments
339 users
To return all errors pass an empty string as the searchText.
var searchText = ''; var results = errorManager.searchErrors(searchText); qie.debug('searchErrors returned ' + results.size() + ' messageQueueIds.'); qie.debug('The messageQueueIds returned: ' + results);
Also see these related questions:
How to automate resolving errors? (Contains a more complete axample)
How to return errors older than X or use a custom date range with errorManager.searchErrors()?
How to use errorManager.searchErrors() to return errors that contain the given text?
How restrict the result returned by errorManager.searchErrors()?
How to be notified and prevent automatic error resolution from getting out of hand?