Requests_Exception_HTTP_401
Exception for 401 Unauthorized responses
Source
File: wp-includes/Requests/Exception/HTTP/401.php
class Requests_Exception_HTTP_401 extends Requests_Exception_HTTP { /** * HTTP status code * * @var integer */ protected $code = 401; /** * Reason phrase * * @var string */ protected $reason = 'Unauthorized'; }
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/requests_exception_http_401