In Listing 19.9, you saw how the ERROR.diagnostics variable can be used to show the user which specific error actually occurred. A number of additional variables can be used in the same way. You will see several of these used in Listing 19.11 in the next section.
Note that the ERROR.generatedContent variable is not available in request error display templates.
These are the only variables you can use in request error display templates. You can use all types of ColdFusion variables in exception error display templates, discussed next.