Handling Errors

ColdFusion includes many tools and techniques for responding to errors that your application encounters. These tools include error handling mechanisms and error logging tools. This chapter describes these tools and how to use them.

This chapter does not discuss techniques for preventing errors, including methods for specifying user input validation. It also does not discuss code debugging. For information on user input validation, see Retrieving and Formatting Data and Building Dynamic Forms. For information on debugging, see Debugging and Troubleshooting Applications.

Contents

About error handling in ColdFusion
Understanding errors
Error messages and the standard error format
Determining error-handling strategies
Specifying custom error messages with cferror
Logging errors with the cflog tag
Handling runtime exceptions with ColdFusion tags

View comments on LiveDocs