[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Exception for 412 Precondition Failed 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 412 Precondition Failed responses
  14   *
  15   * @package Requests\Exceptions
  16   */
  17  final class Status412 extends Http {
  18      /**
  19       * HTTP status code
  20       *
  21       * @var integer
  22       */
  23      protected $code = 412;
  24  
  25      /**
  26       * Reason phrase
  27       *
  28       * @var string
  29       */
  30      protected $reason = 'Precondition Failed';
  31  }


Generated : Sat Nov 23 08:20:01 2024 Cross-referenced by PHPXref