Whatever message this page gives is out now! Go check it out!

CFERROR variables

Last update:
May 18, 2026
When cferror generates an error page, the following error variables are available if type="request" or "exception".
Error.Diagnostics 

Error.MailTo 

Error.DateTime 

Error.Browser 

Error.GeneratedContent 

Error.RemoteAddress 

Error.HTTPReferer 

Error.Template 

Error.QueryString
The following error variables are available if type="validation".
Error.ValidationHeader 

Error.InvalidFields 

Error.ValidationFooter
Any cfcatch variable that applies to exception type can be accessed within the Error scope, as follows:
Error.Type 

Error.Message 

Error.Detail 

Error.ErrNumber 

Error.NativeErrorCode 

Error.SQLState 

Error.LockName 

Error.LockOperation 

Error.MissingFileName 

Error.TagContext 

Error.ErrorCode 

Error.ExtendedInfo
Note: You can substitute the prefix CFERROR for Error, if type = "Exception"; for example, CFERROR.Diagnostics, CFERROR.Mailto, or CFERROR.DateTime.

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page