Console Reference: c3QErrs
c3QErrs displays all error entries in a specified queue, or in all queues if none is specified. A queue holds a list of jobs (asynchronous processes) executed in your application environment. To learn more about queues, see Overview of Invalidation Queues and Asynchronous Process and Monitor and Manage Queues.
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
queue | Type | null | The target queue. May be explicitly null when limit parameter is supplied. | |
limit | number | How many errors to show. Defaults to 10. |
When the value of the queue parameter is not null, it must be an instance of an InvalidationQueue, or c3QErrs will throw an error.
Example
Display the last 10 errors in a queue:
JavaScript
c3QErrs(BatchQueue);Show the last error from a queue:
JavaScript
c3QErrs(BatchQueue, 1);Show the last 20 errors from all active queues:
JavaScript
c3QErrs(null, 20);