Class TextExceptionRenderer
Plain text exception rendering with a stack trace.
Useful in CI or plain text environments.
        
    Namespace: Cake\Error\Renderer
    
    
    
      
  
      Property Summary
- 
        $error protected
Throwable 
Method Summary
- 
          
__construct() public
Constructor.
 - 
          
render() public
Render an exception into a plain text message.
 - 
          
write() public
Write output to stdout.
 
Method Detail
__construct() ¶ public
__construct(Throwable $error)
      Constructor.
Parameters
- 
                
Throwable$error The error to render.
render() ¶ public
render(): Psr\Http\Message\ResponseInterface|string
      Render an exception into a plain text message.
Returns
Psr\Http\Message\ResponseInterface|stringwrite() ¶ public
write(Psr\Http\Message\ResponseInterface|string $output): void
      Write output to stdout.
This method is only called when exceptions are handled by a global default exception handler.
Parameters
- 
                
Psr\Http\Message\ResponseInterface|string$output The output to print.
Returns
void