src/Chiron/Handler/Formatter/PlainTextFormatter.php
public function format(ServerRequestInterface $request, Throwable $e): string
    {
        // This class doesn't show debug information, so by default we hide the php exception behind a neutral http 500 error.
        if (! $e instanceof HttpException) {
            $e = new \Chiron\Http\Exception\Server\InternalServerErrorHttpException();
        }

        return trim($this->arrayToPlainText($e->toArray()));
    }
public function format(ServerRequestInterface $request, Throwable $e): string
    {
        // This class doesn't show debug information, so by default we hide the php exception behind a neutral http 500 error.
        if (! $e instanceof HttpException) {
            $e = new \Chiron\Http\Exception\Server\InternalServerErrorHttpException();
        }

        return trim($this->arrayToPlainText($e->toArray()));
    }
public function format ( ServerRequestInterface $ request , Throwable $ e ) : string { // This class doesn't show debug information, so by default we hide the php exception behind a neutral http 500 error. if ( ! $ e instanceof HttpException ) { $ e = new \ Chiron \ Http \ Exception \ Server \ InternalServerErrorHttpException ( ) ; } return trim ( $ this -> arrayToPlainText ( $ e -> toArray ( ) ) ) ; }
Render Plain-Text error.

@param \Throwable $e

@return string
Render Plain - Text error .