src/Exceptions/HttpException.php
public function getResponse()
    {
        $response = redirect()->to($this->getRedirectUrl());
        $response->withInput($this->request->input());
        $response->withErrors($this->getErrors(), 'default');
        $response->setCharset(config('app.charset', 'UTF-8'));

        return $response;
    }
public function getResponse()
    {
        $response = redirect()->to($this->getRedirectUrl());
        $response->withInput($this->request->input());
        $response->withErrors($this->getErrors(), 'default');
        $response->setCharset(config('app.charset', 'UTF-8'));

        return $response;
    }
public function getResponse ( ) { $ response = redirect ( ) -> to ( $ this -> getRedirectUrl ( ) ) ; $ response -> withInput ( $ this -> request -> input ( ) ) ; $ response -> withErrors ( $ this -> getErrors ( ) , 'default' ) ; $ response -> setCharset ( config ( 'app.charset' , 'UTF-8' ) ) ; return $ response ; }
Get the underlying response instance.

@return \Symfony\Component\HttpFoundation\Response
Get the underlying response instance .