Requests_Exception_HTTP_400

Advertisement

Summery Summery

Exception for 400 Bad Request responses

Syntax Syntax

Requests_Exception_HTTP_400

Source Source

File: wp-includes/Requests/Exception/HTTP/400.php

class Requests_Exception_HTTP_400 extends Requests_Exception_HTTP {
	/**
	 * HTTP status code
	 *
	 * @var integer
	 */
	protected $code = 400;

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

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.