<!--- This view-only example shows the use of CFERROR --->
<HTML>
<HEAD>
<TITLE>CFERROR Example</TITLE>
</HEAD>

<BASEFONT FACE="Arial, Helvetica" SIZE=2>
<BODY  bgcolor="#FFFFD5">

<H3>CFERROR Example</H3>

<P>CFERROR provides the ability to display customized
HTML pages when errors occur. This allows you to
maintain a consistent look and feel within your
application even when errors occur. Note that no CFML
can be displayed in the resulting templates except
for the specialized error variables.
<P>CFTRY/CFCATCH provides a more interactive way to
handle your CF errors within a CF template than CFERROR,
but CFERROR is still a good safeguard against general
errors.
<P>You can also use CFERROR within the Application.cfm
to specify error handling responsibilities for an entire
application.

<!--- Example of CFERROR call within a template --->
<!--- <CFERROR TYPE="REQUEST"
			   TEMPLATE="request_err.cfm"
               MAILTO="admin@mywebsite.com"> --->

<!--- Example of the template to handle this error --->
<!---
<HTML>
<HEAD>
	<TITLE>We're sorry -- An Error Occurred</TITLE>
</HEAD>

<BODY>
<UL>
<CFOUTPUT>
	<LI><B>Your Location:</B> #Error.RemoteAddress#
	<LI><B>Your Browser:</B> #Error.Browser#
	<LI><B>Date and Time the Error Occurred:</B> #Error.DateTime#
	<LI><B>Page You Came From:</B> #Error.HTTPReferer#
	<LI><B>Message Content</B>: <BR><HR width=50%><P>#Error.Diagnostics#<HR width=50%><P>
	<LI><B>Please send questions to:</B> <a href="mailto:#Error.MailTo#">#Error.MailTo#</A>
</CFOUTPUT>
</UL>
</BODY>
</HTML>        --->

</BODY>
</HTML>       
