home *** CD-ROM | disk | FTP | other *** search
/ HTML Examples / WP.iso / wordpress2 / wp-includes / Requests / Exception / HTTP / 404.php < prev    next >
Encoding:
PHP Script  |  2016-05-12  |  381 b   |  27 lines

  1. <?php
  2. /**
  3.  * Exception for 404 Not Found responses
  4.  *
  5.  * @package Requests
  6.  */
  7.  
  8. /**
  9.  * Exception for 404 Not Found responses
  10.  *
  11.  * @package Requests
  12.  */
  13. class Requests_Exception_HTTP_404 extends Requests_Exception_HTTP {
  14.     /**
  15.      * HTTP status code
  16.      *
  17.      * @var integer
  18.      */
  19.     protected $code = 404;
  20.  
  21.     /**
  22.      * Reason phrase
  23.      *
  24.      * @var string
  25.      */
  26.     protected $reason = 'Not Found';
  27. }