\Elastica\ExceptionConnectionException

Connection exception.

Summary

Methods
Properties
Constants
__construct()
getRequest()
getResponse()
No public properties found
No constants found
No protected methods found
$_request
$_response
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

Methods

__construct()

__construct(string  $message, \Elastica\Request|null  $request = null, \Elastica\Response|null  $response = null) 

Construct Exception.

Parameters

string $message
\Elastica\Request|null $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