WpOrg\Requests\Exception\Http

Status502{}WP 1.0

Exception for 502 Bad Gateway responses

Хуков нет.

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

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

Методы

Нет Методов у класса.

Заметки

  • Пакет: Requests\Exceptions

Код Status502{} WP 6.3.1

final class Status502 extends Http {
	/**
	 * HTTP status code
	 *
	 * @var integer
	 */
	protected $code = 502;

	/**
	 * Reason phrase
	 *
	 * @var string
	 */
	protected $reason = 'Bad Gateway';
}