You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
391 B
28 lines
391 B
<?php
|
|
/**
|
|
* Exception for 401 Unauthorized responses
|
|
*
|
|
* @package Requests
|
|
*/
|
|
|
|
/**
|
|
* Exception for 401 Unauthorized responses
|
|
*
|
|
* @package Requests
|
|
*/
|
|
class Requests_Exception_HTTP_401 extends Requests_Exception_HTTP {
|
|
/**
|
|
* HTTP status code
|
|
*
|
|
* @var integer
|
|
*/
|
|
protected $code = 401;
|
|
|
|
/**
|
|
* Reason phrase
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $reason = 'Unauthorized';
|
|
}
|