WpOrg\Requests\Exception\Http
Status401{}
Exception for 401 Unauthorized responses
No Hooks.
Usage
$Status401 = new Status401(); // use class methods
Methods
No Methods in class.
Notes
- Package: Requests\Exceptions
Status401{} Status401{} code WP 6.6.2
final class Status401 extends Http { /** * HTTP status code * * @var integer */ protected $code = 401; /** * Reason phrase * * @var string */ protected $reason = 'Unauthorized'; }