Appendix C. Error Handling and Prevention

IN THIS APPENDIX

Introduction

FileMaker Errors

PHP Errors

Error Logs

Final Considerations

Introduction

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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.