First: Errors are to be avoided rather than explored - I assume you want to make sure you will receive notification in case of error, but that is a risky way to go around, instead it is a good idea to get into a habit (however difficult it is) to handle this kind of things while coding because...