File "Exception.php"

Full path: /home/kosmetik/public_html/wp-includes/Requests/Exception.php
File size: 425 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Editor   Back

<?php

class Requests_Exception extends Exception
{
    protected $type;
    protected $data;
    public function __construct($message, $type, $data = null, $code = 0)
    {
        parent::__construct($message, $code);
        $this->type = $type;
        $this->data = $data;
    }
    public function getType()
    {
        return $this->type;
    }
    public function getData()
    {
        return $this->data;
    }
}