Jump to main content Jump to doc navigation

modX::sendErrorPage

Send the user to a MODX virtual error page.

Syntax

API Doc: modX::sendErrorPage()

void sendErrorPage ([array $options = null])

Example

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

$modx->sendErrorPage();

See Also