YoastSEO_Vendor\GuzzleHttp\Promise
Coroutine::_handleFailure() public Yoast 1.0
{} Это метод класса: Coroutine{}
Хуков нет.
Возвращает
Null. Ничего.
Использование
$Coroutine = new Coroutine(); $Coroutine->_handleFailure( $reason );
Код Coroutine::_handleFailure() Coroutine:: handleFailure Yoast 15.6.2
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);
}
}