Skip to main content
4 events
when toggle format what by license comment
Jun 5, 2018 at 16:46 history edited AnotherGuy CC BY-SA 4.0
Reworded several paragraphs to help clarity and fixed spelling errors
Jul 5, 2015 at 10:45 comment added AnotherGuy @Eric - Yes... That is if the application can recover from the exception. If not you could let it propagate up until it hits the general exception handler (which you can also customize) and show a generic error page.
Jul 3, 2015 at 15:02 comment added Eric I never thought about the possibility of re-throwing the exception as a means to handle the error in a general sense (every PDO exception will be logged), and then in a specific sense regarding my app's logic. If I understand you correctly, would this then mean that every call outside of the database class would have another try-catch block to implement specifics, case by case?
Jul 3, 2015 at 14:43 history answered AnotherGuy CC BY-SA 3.0