Requests_Exception_HTTP_503{}WP 1.0

Exception for 503 Service Unavailable responses

No Hooks.

Usage

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

Methods

No Methods in class.

Notes

  • Package: Requests

Code of Requests_Exception_HTTP_503{} WP 6.0

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

	/**
	 * Reason phrase
	 *
	 * @var string
	 */
	protected $reason = 'Service Unavailable';
}