class Status500 {}

Exception for 500 Internal Server Error responses

Source

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

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

User Contributed Notes

You must log in before being able to contribute a note or feedback.