WpOrg\Requests\Exception\Http

Status502{}WP 1.0

Exception for 502 Bad Gateway responses

No Hooks.

Usage

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

Methods

No Methods in class.

Notes

  • Package: Requests\Exceptions

Status502{} code WP 6.6.2

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

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