MACROMEDIA COLDFUSION MX 61-DEVELOPING COLDFUSION MX Develop Manual page 296

Developing coldfusion mx applications
Table of Contents

Advertisement

The following table describes the variables available on error pages:
Error page type Error variable
Validation
Exception and
Request
Exception only
Exception error pages can also use all of the exception variables listed in the section
information in cfcatch blocks" on page
with
or
cferror
error.message
In general, production Exception and Request pages should not display detailed error
information, such as that supplied by the
pages e-mail detailed error information to an administrative address or log the information using
the
tag instead of displaying it to the user. For more information on using the
cflog
see
"Logging errors with the cflog tag" on page 297
296
Chapter 14: Handling Errors
error.invalidFields
error.validationHeader
error.validationFooter
error.browser
error.dateTime
error.diagnostics
error.generatedContent
error.HTTPReferer
error.mailTo
error.queryString
error.remoteAddress
error.template
error.messge
error.rootCause
error.tagContext
error.type
. For example, to use the exception message in an error page, refer to it as
error
.
Description
Unordered list of validation errors that occurred. This
includes any text that you specify in the value
attribute or a hidden tag used to validate form input.
Text for the header of the default validation message.
Text for the footer of the default validation message.
Browser that was running when the error occurred.
Date and time when the error occurred.
Detailed error diagnostics.
Any content that ColdFusion generated in response
to the request prior to the error.
Page containing the HTML link to the page on which
the error occurred. This value is an empty string if the
user specified the page directly in the browser.
E-mail address of the administrator who should be
notified. This value is set in the
tag.
cferror
URL query string of the client's request, if any.
IP address of the remote client.
Page being executed when the error occurred.
Error message associated with the exception.
Java servlet exception reported by the JVM as the
cause of the "root cause" of the exception. This
variable is a Java object.
Array of structures containing information for each
tag in the tag stack The tag stack consists of each tag
that is currently open. For more information, see
"Exception information in cfcatch blocks"
on page 301
Exception type. For more information, see
ColdFusion exceptions" on page
301. To use these variables, replace the
error.diagnostics
attribute of the
mailTo
288.
"Exception
cfcatch
variable. Typically, Exception
.
"About
prefix
tag,
cflog

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION MX 61-DEVELOPING COLDFUSION MX and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Coldfusion mx

Table of Contents