try{
    $dbHandle = new PDO('sqlite:xxxxx.sqlite3');
    $dbHandle->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
}
catch( PDOException $exception )
{
    die($exception->getMessage());
}

http://www.php.net/manual/fr/pdo.error-handling.php