418.php 478 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * Exception for 418 I'm A Teapot responses
  4. *
  5. * @see https://tools.ietf.org/html/rfc2324
  6. * @package Requests
  7. */
  8. /**
  9. * Exception for 418 I'm A Teapot responses
  10. *
  11. * @see https://tools.ietf.org/html/rfc2324
  12. * @package Requests
  13. */
  14. class Requests_Exception_HTTP_418 extends Requests_Exception_HTTP {
  15. /**
  16. * HTTP status code
  17. *
  18. * @var integer
  19. */
  20. protected $code = 418;
  21. /**
  22. * Reason phrase
  23. *
  24. * @var string
  25. */
  26. protected $reason = "I'm A Teapot";
  27. }