\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

$_request

$_request : \Elastica\Request|null

Type

\Elastica\Request|null — Request object

$_response

$_response : \Elastica\Response|null

Type

\Elastica\Response|null — Response object

$_guzzleException

$_guzzleException : \GuzzleHttp\Exception\TransferException

Type

\GuzzleHttp\Exception\TransferException

Methods

__construct()

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

Construct Exception.

Parameters

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

getRequest()

getRequest() : \Elastica\Request|null

Returns request object.

Returns

\Elastica\Request|null —

Request object

getResponse()

getResponse() : \Elastica\Response|null

Returns response object.

Returns

\Elastica\Response|null —

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