[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/Requests/src/Exception/Http/ -> Status500.php (source)

   1  <?php
   2  /**
   3   * Exception for 500 Internal Server Error responses
   4   *
   5   * @package Requests\Exceptions
   6   */
   7  
   8  namespace WpOrg\Requests\Exception\Http;
   9  
  10  use WpOrg\Requests\Exception\Http;
  11  
  12  /**
  13   * Exception for 500 Internal Server Error responses
  14   *
  15   * @package Requests\Exceptions
  16   */
  17  final class Status500 extends Http {
  18      /**
  19       * HTTP status code
  20       *
  21       * @var integer
  22       */
  23      protected $code = 500;
  24  
  25      /**
  26       * Reason phrase
  27       *
  28       * @var string
  29       */
  30      protected $reason = 'Internal Server Error';
  31  }


Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref