src/CreateCouldNotRenderExceptionCapableTrait.php
protected function _createCouldNotRenderException(
        $message = null,
        $code = null,
        RootException $previous = null,
        RendererInterface $renderer = null
    ) {
        return new CouldNotRenderException($message, $code, $previous, $renderer);
    }
protected function _createCouldNotRenderException(
        $message = null,
        $code = null,
        RootException $previous = null,
        RendererInterface $renderer = null
    ) {
        return new CouldNotRenderException($message, $code, $previous, $renderer);
    }
protected function _createCouldNotRenderException ( $ message = null , $ code = null , RootException $ previous = null , RendererInterface $ renderer = null ) { return new CouldNotRenderException ( $ message , $ code , $ previous , $ renderer ) ; }
Creates a new render failure exception.

@since [*next-version*]

@param string|Stringable|null $message  The error message, if any.
@param int|null               $code     The error code, if any.
@param RootException|null     $previous The inner exception for chaining, if any.
@param RendererInterface      $renderer The associated renderer, if any.

@return CouldNotRenderException The new exception.
Creates a new render failure exception .