By default, ColdFusion generates its own error messages when it encounters errors. In addition, it provides a variety of tools and techniques for you to customize error information and handle errors when they occur. You can use any of the following error-management techniques.
How to handle ColdFusion exceptions
Information about using the cftry and cfcatch tags is provided, but not the equivalent CFScript try and catch statements. The general discussion of exception handling applies to tags and CFScript statements. However, the code that you use and the information available in CFScript differs from the information in the tags. For more information on handling exceptions in CFScript, see Handling errors in UDFs.