Requests_Exception_HTTP_500 WordPress Class
The Requests_Exception_HTTP_500 class is used to indicate that an HTTP 500 Internal Server Error has occurred. This is typically caused by a server-side problem, such as a failed database connection or an incorrect file permissions.
Requests_Exception_HTTP_500 #
Exception for 500 Internal Server Error responses
Source
File: wp-includes/Requests/Exception/HTTP/500.php
class Requests_Exception_HTTP_500 extends Requests_Exception_HTTP {
/**
* HTTP status code
*
* @var integer
*/
protected $code = 500;
/**
* Reason phrase
*
* @var string
*/
protected $reason = 'Internal Server Error';
}
Expand full source codeCollapse full source codeView on TracView on GitHub