public function errorAction()
    {
        $res = $this->getResponse();
        $res->setStatusCode(Response::HTTP_INTERNAL_SERVER_ERROR);
        $res->setContent(self::ERROR_CONTENT);

        return($res);
    }
public function errorAction()
    {
        $res = $this->getResponse();
        $res->setStatusCode(Response::HTTP_INTERNAL_SERVER_ERROR);
        $res->setContent(self::ERROR_CONTENT);

        return($res);
    }
public function errorAction ( ) { $ res = $ this -> getResponse ( ) ; $ res -> setStatusCode ( Response :: HTTP_INTERNAL_SERVER_ERROR ) ; $ res -> setContent ( self :: ERROR_CONTENT ) ; return ( $ res ) ; }
errorAction
This action is called if an exception is generated on a
production system and no error template was found.

@return Symfony\Component\HttpFoundation\Response $res;
errorAction This action is called if an exception is generated on a production system and no error template was found .