I need/want to have any CDbException rendered in a custom view, which I decide what to print and what not. For some reason, CDbException is being thrown ("CDbConnection failed to open the DB connection.") yet I cannot overwrite the display of it, no matter what I tried.
I read it, of course, but I didn’t see a way there to override DB connection errors reports in CDbException. I did see there how to override/customize misc CHttpExceptions an in general handle errors but not what I’m looking for.