25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

29 lines
549 B

  1. <?php
  2. /**
  3. * Exception for 429 Too Many Requests responses
  4. *
  5. * @see https://tools.ietf.org/html/draft-nottingham-http-new-status-04
  6. * @package Requests
  7. */
  8. /**
  9. * Exception for 429 Too Many Requests responses
  10. *
  11. * @see https://tools.ietf.org/html/draft-nottingham-http-new-status-04
  12. * @package Requests
  13. */
  14. class Requests_Exception_HTTP_429 extends Requests_Exception_HTTP {
  15. /**
  16. * HTTP status code
  17. *
  18. * @var integer
  19. */
  20. protected $code = 429;
  21. /**
  22. * Reason phrase
  23. *
  24. * @var string
  25. */
  26. protected $reason = 'Too Many Requests';
  27. }