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.
29 lines
549 B
29 lines
549 B
<?php |
|
/** |
|
* Exception for 429 Too Many Requests responses |
|
* |
|
* @see https://tools.ietf.org/html/draft-nottingham-http-new-status-04 |
|
* @package Requests |
|
*/ |
|
|
|
/** |
|
* Exception for 429 Too Many Requests responses |
|
* |
|
* @see https://tools.ietf.org/html/draft-nottingham-http-new-status-04 |
|
* @package Requests |
|
*/ |
|
class Requests_Exception_HTTP_429 extends Requests_Exception_HTTP { |
|
/** |
|
* HTTP status code |
|
* |
|
* @var integer |
|
*/ |
|
protected $code = 429; |
|
|
|
/** |
|
* Reason phrase |
|
* |
|
* @var string |
|
*/ |
|
protected $reason = 'Too Many Requests'; |
|
} |