Contents

cferror

Description

Enables the display of customized HTML pages when errors occur. This lets you maintain a consistent look and feel within your application, even when errors occur.

Category

Other

Implemented

Usage Syntax

<cferror  
	type="String"
	Template="String"
	[mailTo="String"]
	[exception="String"]
 />

[] = Optional attribute

Attributes

Name Type Required Default Description
type String Yes The type of error that the custom error page handles.
Template String Yes The relative path to the custom error page.
mailTo String No The e-mail address of the administrator to notify of the error. The value is available to your custom error page in the MailTo property of the error object.
exception String No Type of exception. Required if type = "exception" or "monitor".

Example Usage