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

YoastSEO_Vendor\GuzzleHttp\Exception

BadResponseException{} Yoast 1.0

Exception when an HTTP error occurs (4xx or 5xx error)

Хуков нет.

Возвращает

Null. Ничего.

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

$BadResponseException = new BadResponseException();
// use class methods

Методы

  1. __construct($message, \YoastSEO_Vendor\Psr\Http\Message\RequestInterface $request, \YoastSEO_Vendor\Psr\Http\Message\ResponseInterface $response = null, \Exception $previous = null, array $handlerContext = [])

Код BadResponseException{} Yoast 15.6.2

<?php
class BadResponseException extends \YoastSEO_Vendor\GuzzleHttp\Exception\RequestException
{
    public function __construct($message, \YoastSEO_Vendor\Psr\Http\Message\RequestInterface $request, \YoastSEO_Vendor\Psr\Http\Message\ResponseInterface $response = null, \Exception $previous = null, array $handlerContext = [])
    {
        if (null === $response) {
            @\trigger_error('Instantiating the ' . __CLASS__ . ' class without a Response is deprecated since version 6.3 and will be removed in 7.0.', \E_USER_DEPRECATED);
        }
        parent::__construct($message, $request, $response, $previous, $handlerContext);
    }
}