class Status401 {}

Exception for 401 Unauthorized responses

Source

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

	/**
	 * Reason phrase
	 *
	 * @var string
	 */
	protected $reason = 'Unauthorized';
}

User Contributed Notes

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