Elastica\Exception\Bulk\ResponseException::__construct PHP Method

__construct() public method

Construct Exception.
public __construct ( ResponseSet $responseSet )
$responseSet Elastica\Bulk\ResponseSet
    public function __construct(ResponseSet $responseSet)
    {
        $this->_init($responseSet);
        $message = 'Error in one or more bulk request actions:' . PHP_EOL . PHP_EOL;
        $message .= $this->getActionExceptionsAsString();
        parent::__construct($message);
    }