AdobeStock_455007340

Trapping Specific Database Errors

Using / handling it is possible to trap specific database errors, possibly even allowing you to run code to fix problems when they occur. To trap specific database errors create a block with TYPE=”database” and inspect the CFCATCH.NativeErrorCode variable. (Applies to: ColdFusion 5)

Leave a Reply