Jump to main content Jump to doc navigation

modX.sendErrorPage

Other versions: 3.x — Found a problem? Please edit this page or report an issue.

modX::sendErrorPage

Send the user to a MODX virtual error page.

Syntax

API Doc: http://api.modx.com/revolution/2.2/db_core_model_modx_modx.class.html#%5CmodX::sendErrorPage()

void sendErrorPage ([array $options = null])

Example

Send the user to the default Error page for the site.

$modx->sendErrorPage();

See Also