src/Whoops/Handler/PlainTextHandler.php
public function generateResponse()
    {
        $exception = $this->getException();
        return sprintf(
            "%s: %s in file %s on line %d%s\n",
            get_class($exception),
            $exception->getMessage(),
            $exception->getFile(),
            $exception->getLine(),
            $this->getTraceOutput()
        );
    }
public function generateResponse()
    {
        $exception = $this->getException();
        return sprintf(
            "%s: %s in file %s on line %d%s\n",
            get_class($exception),
            $exception->getMessage(),
            $exception->getFile(),
            $exception->getLine(),
            $this->getTraceOutput()
        );
    }
public function generateResponse ( ) { $ exception = $ this -> getException ( ) ; return sprintf ( "%s: %s in file %s on line %d%s\n" , get_class ( $ exception ) , $ exception -> getMessage ( ) , $ exception -> getFile ( ) , $ exception -> getLine ( ) , $ this -> getTraceOutput ( ) ) ; }
Create plain text response and return it as a string
@return string
Create plain text response and return it as a string