Try{} catch{} makes more sense when your application is Object Oriented and you use the MVC model. Your library performs some actions but when an error occures, it can't write directly to your browser. Your modules speak with your library and checks if an error occures.. If so a decent error message can be shown...

Al schreef:
Try() and Catch() seems neat; but, I've not found it to be very practical.

Anyone using it? How?

Al...

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to