protected function getResponse( Request $request, Exception $exception, Exception $transformed )
	{
		$id = UniversalBuilder::resolve( 'exceptions.identifier' )->identify( $exception );

		$flattened = FlattenException::create( $transformed );
		$code = $flattened->getStatusCode();
		$headers = $flattened->getHeaders();

		return $this->getDisplayer( $request, $exception, $transformed, $code )->display( $transformed, $id, $code, $headers );
	}
protected function getResponse( Request $request, Exception $exception, Exception $transformed )
	{
		$id = UniversalBuilder::resolve( 'exceptions.identifier' )->identify( $exception );

		$flattened = FlattenException::create( $transformed );
		$code = $flattened->getStatusCode();
		$headers = $flattened->getHeaders();

		return $this->getDisplayer( $request, $exception, $transformed, $code )->display( $transformed, $id, $code, $headers );
	}
protected function getResponse ( Request $ request , Exception $ exception , Exception $ transformed ) { $ id = UniversalBuilder :: resolve ( 'exceptions.identifier' ) -> identify ( $ exception ) ; $ flattened = FlattenException :: create ( $ transformed ) ; $ code = $ flattened -> getStatusCode ( ) ; $ headers = $ flattened -> getHeaders ( ) ; return $ this -> getDisplayer ( $ request , $ exception , $ transformed , $ code ) -> display ( $ transformed , $ id , $ code , $ headers ) ; }
Get the appropriate response object.

@param Request $request
@param \Exception $transformed
@param \Exception $exception

@return Response
Get the appropriate response object .