public function handleError(\Error $e): Response
    {
        $this->logger->error(sprintf('%s in %s:%d', $e->getMessage(), $e->getFile(), $e->getLine()));
        return $this->providePhpErrorResponse($e);
    }
public function handleError(\Error $e): Response
    {
        $this->logger->error(sprintf('%s in %s:%d', $e->getMessage(), $e->getFile(), $e->getLine()));
        return $this->providePhpErrorResponse($e);
    }
public function handleError ( \ Error $ e ) : Response { $ this -> logger -> error ( sprintf ( '%s in %s:%d' , $ e -> getMessage ( ) , $ e -> getFile ( ) , $ e -> getLine ( ) ) ) ; return $ this -> providePhpErrorResponse ( $ e ) ; }
Handles internal php errors.

@param \Error $e
@return Response
Handles internal php errors .