Requests_Exception_HTTP_503 WordPress Class

This class is a custom exception class for the Requests library. It handles HTTP status code 503 errors.

Requests_Exception_HTTP_503 #

Exception for 503 Service Unavailable responses


Source

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

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';
}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.