Introducing the <cferror> Tag
You use the <cferror> tag to specify how error messages should be displayed. Customizing the error messages that appear throughout your application is generally a two-step process:
1. | First, you create an error display template, which displays the error message along with whatever graphics or other formatting you consider appropriate.
|
2. | Next, you include a <cferror> tag that tells ColdFusion to display errors using the error display template you just created. In general, you place the <cferror> tag in your Application.cfc file.
|
Table 19.3 shows the attributes supported by the <cferror> tag.
Attribute | Description |
---|---|
type | The type of error you want to catch and display using your customized ... |
Get Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.