429.php 549 B

1234567891011121314151617181920212223242526272829
  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. }