handleRenderingException() public méthode

Handle an Exception thrown while rendering TypoScript according to settings specified in Neos.Fusion.rendering.exceptionHandler
public handleRenderingException ( array $typoScriptPath, Exception $exception, boolean $useInnerExceptionHandler = false ) : string
$typoScriptPath array
$exception Exception
$useInnerExceptionHandler boolean
Résultat string
Exemple #1
0
 /**
  * Post-Processor which is called whenever this object is encountered in a Fluid
  * object access.
  *
  * Evaluates TypoScript objects and eel expressions.
  *
  * @return FusionPathProxy|mixed
  */
 public function objectAccess()
 {
     if (!$this->fusionRuntime->canRender($this->path)) {
         return $this;
     }
     try {
         return $this->fusionRuntime->evaluate($this->path, $this->templateImplementation);
     } catch (\Exception $exception) {
         return $this->fusionRuntime->handleRenderingException($this->path, $exception);
     }
 }