Requests_Exception_HTTP_500

Advertisement

Summery Summery

Exception for 500 Internal Server Error responses

Syntax Syntax

Requests_Exception_HTTP_500

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

Advertisement

Advertisement

Leave a Reply