\Elastica\Exception\BulkResponseException

Bulk Response exception.

Summary

Methods
Properties
Constants
__construct()
getResponseSet()
getFailures()
getActionExceptions()
getActionExceptionsAsString()
No public properties found
No constants found
_init()
$_responseSet
$_actionExceptions
N/A
No private methods found
No private properties found
N/A

Properties

Methods

__construct()

__construct(\Elastica\Bulk\ResponseSet  $responseSet) 

Construct Exception.

Parameters

\Elastica\Bulk\ResponseSet $responseSet

getResponseSet()

getResponseSet() : \Elastica\Bulk\ResponseSet

Returns bulk response set object.

Returns

\Elastica\Bulk\ResponseSet

getFailures()

getFailures() : array

Returns array of failed actions.

Returns

array —

Array of failed actions

getActionExceptionsAsString()

getActionExceptionsAsString() : string

Returns

string