lib/Elastica/Exception/Bulk/ResponseException.php
public function getFailures(): array
    {
        $errors = [];

        foreach ($this->getActionExceptions() as $actionException) {
            $errors[] = $actionException->getMessage();
        }

        return $errors;
    }
public function getFailures(): array
    {
        $errors = [];

        foreach ($this->getActionExceptions() as $actionException) {
            $errors[] = $actionException->getMessage();
        }

        return $errors;
    }
public function getFailures ( ) : array { $ errors = [ ] ; foreach ( $ this -> getActionExceptions ( ) as $ actionException ) { $ errors [ ] = $ actionException -> getMessage ( ) ; } return $ errors ; }
Returns array of failed actions.

@return string[] Array of failed actions
Returns array of failed actions .