"Fossies" - the Fresh Open Source Software Archive

Member "wordpress/wp-includes/Requests/Exception/HTTP/402.php" (11 May 2021, 403 Bytes) of package /linux/www/wordpress-5.8.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "402.php" see the Fossies "Dox" file reference documentation.

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