Elastica\Multi\ResultSet::hasError PHP Method

hasError() public method

There is at least one result set with error.
public hasError ( ) : boolean
return boolean
    public function hasError()
    {
        foreach ($this->getResultSets() as $resultSet) {
            if ($resultSet->getResponse()->hasError()) {
                return true;
            }
        }
        return false;
    }