I am writing a PDO wrapper and having this issue with catching exceptions.
I am trying to maintain exception safety practice,so I wanted to know how to catch an exception,writing it to a log file,and using exception safety to to do something, probably tell the user to retry action again or navigate to an error page or whatever (anything you can suggest).
So how is it done if possible?