[TYPO3-dev] Fail-safe mechanism for database connectivity problem
Dmitry Dulepov
dmitry at typo3.org
Fri Oct 6 14:36:30 CEST 2006
Hi!
Dan Frost wrote:
> True for the exceptions - but you can catch the nasty looking DB errors
> with set_error_handler() in PHP4. This is sufficient to hide all
> problems that might happen (apart from Syntax errors and run-time object
> errors).
But why do we need to use set_error_handler() for database errors? They
are perfectly detectable without it.
--
Dmitry Dulepov
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
More information about the TYPO3-dev
mailing list