Chapter 9. Error Handling

Of course, we all like to think that we’re really good developers. In a lot of cases, that’s probably true. Still, like it or not, there are going to be times when the code that you write will not perform the way you expected. In those instances, it’s important to make sure that you’ve provided a way for your application to gracefully handle those errors.

If you were to attempt to perform a function within your application and that attempt was met with failure, you’d probably be able to easily decipher from the standard error message exactly what had caused the failure to occur.

These standard error messages, while not particularly beautiful from a user interface (UI) standpoint, do provide a large amount of critical debugging ...

Get Inside ColdFusion™ MX now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.