> For the complete documentation index, see [llms.txt](https://xoops.gitbook.io/xmf-cookbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xoops.gitbook.io/xmf-cookbook/reference/database/tables/error-info-and-debugging.md).

# Error Info and Debugging

## Error Information

### getLastError()

Return message from last error encountered

### getLastErrNo()

Return code from last error encountered

## Utility methods

These methods expose internal data and may be useful in debugging and utility creation. Be aware, however, the internal mechanisms they expose **will** change over time.

### dumpTables()

Development function that returns the raw tables array

### dumpQueue()

Development only function the returns the raw work queue
