I keep having my FM 11 DB server host go down and want to catch the error before doing all the PHP of my app, whats the best way to handle that error exception? Anyone have any code samples?