diff options
Diffstat (limited to 'includes/vendor/rmccue/requests/library/Requests/Exception/HTTP/401.php')
| -rw-r--r-- | includes/vendor/rmccue/requests/library/Requests/Exception/HTTP/401.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/includes/vendor/rmccue/requests/library/Requests/Exception/HTTP/401.php b/includes/vendor/rmccue/requests/library/Requests/Exception/HTTP/401.php new file mode 100644 index 0000000..2e1e3d0 --- /dev/null +++ b/includes/vendor/rmccue/requests/library/Requests/Exception/HTTP/401.php @@ -0,0 +1,27 @@ +<?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'; +}
\ No newline at end of file |