Textpattern CMS Template Tags

<txp:error_message /> single tag, 0 attributes

error_message

The error_message tag is a single tag that Textpattern will replace with the error message text for the error status as set by the server. Should be used in an error_xxx or error_default page template.

<txp:error_message /> 1 examples

Display error information

<h3><txp:error_status /></h3>
<p><txp:error_message /></p>

What this does…
With the tags arranged like this (as they are in the error_default page template), they display the error status code as a header and the relevant server message beneath it, usually to indicate to the visitor that something went wrong.

Other tags used: error_status