private isAccessDenied ( Exception $ex ) : boolean | ||
$ex | Exception | The exception to check. |
Résultat | boolean |
private function isAccessDenied($ex)
{
//NOte: this code is duplicated in Tracker.php error handler
return $ex->getCode() == 1044 || $ex->getCode() == 42000;
}