Appendix C. Error Handling and Prevention



FileMaker Errors

PHP Errors

Error Logs

Final Considerations


Errors occur when unexpected things happen in an application. They are often the result of bugs that have been introduced to a system, but can also be the result of bizarre user data, system misconfiguration, or a whole host of essentially unpredictable causes.

Writing robust error handling can exponentially increase the amount of code you need to write. In the real world, you have to strike a balance between too much and too little error handling. You will have to decide for yourself how much is enough for your applications. These are a few considerations I use to decide how much error checking ...

Get Web Publishing with PHP and FileMaker now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.