# list-errors macro

The list-errors macro produces a sorted
report of the error messages logged into the dm,errors, file, beginning with the most recently logged message.

## Syntax

```
list-errors {(options}
```

## Parameter(s)

| options | n | Activates the nopause function on output to the terminal. |
| --- | --- | --- |
| p | Directs output to the system printer via the spooler. | |

## Example(s)

Reports the error messages logged
into the errors file.

```
list-errors
```

## See also

- [errors file](https://d3codex.com/systemfiles/errors-file/)
- [lerrs macro](https://d3codex.com/tcl/lerrs-macro/)
- [list-system-errors macro](https://d3codex.com/tcl/list-system-errors-macro/)
- [Options (Access Query Language)](https://d3codex.com/access/options-access-query-language/)

---
Source: https://d3codex.com/tcl/list-errors-macro/ - part of the D3Codex reference.
