WpOrg\Requests\Exception\Http

Status500{}WP 1.0

Exception for 500 Internal Server Error responses

No Hooks.

Usage

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

Methods

No Methods in class.

Notes

  • Package: Requests\Exceptions

Status500{} code WP 6.6.2

final class Status500 extends Http {
	/**
	 * HTTP status code
	 *
	 * @var integer
	 */
	protected $code = 500;

	/**
	 * Reason phrase
	 *
	 * @var string
	 */
	protected $reason = 'Internal Server Error';
}