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';
}
Expand full source codeCollapse full source codeView on TracView on GitHub