protected isExceptionRecoverable ( $e ) : boolean | ||
return | boolean |
protected function isExceptionRecoverable($e)
{
if ($e instanceof \ErrorException) {
$ignore = E_WARNING | E_NOTICE | E_USER_WARNING | E_USER_NOTICE | E_STRICT;
return ($ignore & $e->getSeverity()) != 0;
}
return false;
}