Macromedia coldfusion 4.5-cfml language reference User Manual

Page of 608
38
CFML Language Reference 
Error Variables for Request, Exception, and Monitor Types
The following error variables are available when CFERROR specifies TYPE="Request", 
TYPE="Exception" or TYPE="Monitor":
Note
If you have specified
 TYPE="Exception"
 or 
TYPE="Monitor"
, you 
can substitute the prefix CFERROR for Error if you prefer this form; for 
example, CFERROR.Diagnostics, CFERROR.Mailto or 
CFERROR.DateTime. 
Error pages where TYPE="Validation"
Error variables available when CFERROR uses TYPE="Validation" are as follows:
Variables for Request, Exception, and Monitor Types
Error Variable
Description
Error.Diagnostics
Detailed error diagnostics from ColdFusion Server.
Error.MailTo
Email address of administrator who should be 
notified (corresponds to the value set in the MAILTO 
attribute of CFERROR).
Error.DateTime
Date and time when the error occurred.
Error.Browser
Browser that was running when the error occurred.
Error.GeneratedContent
The failed request’s generated content .
Error.RemoteAddress
IP address of the remote client.
Error.HTTPReferer
Page from which the client accessed the link to the 
page where the error occurred.
Error.Template
Page being executed when the error occurred. 
Error.QueryString
URL query string of the client's request. 
Custom Error Pages where TYPE="Validation"
Error Variable
Description
Error.ValidationHeader
Text for header of validation message.
Error.InvalidFields
Unordered list of validation errors that 
occurred.
Error.ValidationFooter
Text for footer of validation message.