\Elastica\Exception\ConnectionGuzzleException

Transport exception.

Summary

Methods
Properties
Constants
__construct()
getRequest()
getResponse()
getErrorMessage()
getGuzzleException()
No public properties found
No constants found
No protected methods found
$_request
$_response
$_guzzleException
N/A
No private methods found
No private properties found
N/A

Properties

$_guzzleException

$_guzzleException : \GuzzleHttp\Exception\TransferException

Type

\GuzzleHttp\Exception\TransferException

Methods

__construct()

__construct(\GuzzleHttp\Exception\TransferException  $guzzleException, \Elastica\Request  $request = null, \Elastica\Response  $response = null) 

Construct Exception.

Parameters

\GuzzleHttp\Exception\TransferException $guzzleException
\Elastica\Request $request
\Elastica\Response $response

getRequest()

getRequest() : \Elastica\Request

Returns request object.

Returns

\Elastica\Request

Request object

getResponse()

getResponse() : \Elastica\Response

Returns response object.

Returns

\Elastica\Response

Response object

getErrorMessage()

getErrorMessage(\GuzzleHttp\Exception\TransferException  $guzzleException) : string

Parameters

\GuzzleHttp\Exception\TransferException $guzzleException

Returns

string

getGuzzleException()

getGuzzleException() : \GuzzleHttp\Exception\TransferException

Returns

\GuzzleHttp\Exception\TransferException