WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

YoastSEO_Vendor\GuzzleHttp\Promise

Coroutine::_handleFailure() public Yoast 1.0

{} Это метод класса: Coroutine{}

Хуков нет.

Возвращает

Null. Ничего.

Использование

$Coroutine = new Coroutine();
$Coroutine->_handleFailure( $reason );

Код Coroutine::_handleFailure() Yoast 15.6.2

<?php
public function _handleFailure($reason)
{
    unset($this->currentPromise);
    try {
        $nextYield = $this->generator->throw(exception_for($reason));
        // The throw was caught, so keep iterating on the coroutine
        $this->nextCoroutine($nextYield);
    } catch (\Exception $exception) {
        $this->result->reject($exception);
    } catch (\Throwable $throwable) {
        $this->result->reject($throwable);
    }
}