Requests_Exception_HTTP_400 WordPress Class
The Requests_Exception_HTTP_400 class is used for handling HTTP 400 errors in the Requests WordPress plugin. HTTP 400 errors are usually caused by malformed or missing parameters in the request. This class will log the error and display a message to the user.
Requests_Exception_HTTP_400 #
Exception for 400 Bad Request responses
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'; }
Expand full source codeCollapse full source codeView on TracView on GitHub