Requests_Exception_HTTP_402

Advertisement

Summery Summery

Exception for 402 Payment Required responses

Syntax Syntax

Requests_Exception_HTTP_402

Source Source

File: wp-includes/Requests/Exception/HTTP/402.php

class Requests_Exception_HTTP_402 extends Requests_Exception_HTTP {
	/**
	 * HTTP status code
	 *
	 * @var integer
	 */
	protected $code = 402;

	/**
	 * Reason phrase
	 *
	 * @var string
	 */
	protected $reason = 'Payment Required';
}

Advertisement

Advertisement

Leave a Reply