1
0
mirror of https://github.com/dg/dibi.git synced 2025-10-24 19:26:10 +02:00

* renamed DibiDatabaseException to DibiDriverException

* PDO driver convert PDOExceptions to DibiDriverException
This commit is contained in:
David Grudl
2007-11-17 09:37:55 +00:00
parent c174e20135
commit cbb315cbc7
11 changed files with 88 additions and 50 deletions

View File

@@ -73,7 +73,7 @@ final class DibiLogger extends NObject
}
if ($event === 'exception' && $this->logErrors) {
// $arg is DibiDatabaseException
// $arg is DibiDriverException
$message = $arg->getMessage();
$code = $arg->getCode();
if ($code) {