%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /safe-wp/wp-includes/Requests/src/
Upload File :
Create Path :
Current File : //safe-wp/wp-includes/Requests/src/Exception.php

<?php
/**
 * Exception for HTTP requests
 *
 * @package Requests\Exceptions
 */

namespace WpOrg\Requests;

use Exception as PHPException;

/**
 * Exception for HTTP requests
 *
 * @package Requests\Exceptions
 */
class Exception extends PHPException {
	/**
	 * 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 \Exception::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;
	}
}

Zerion Mini Shell 1.0
Creative – Jefferson County Republican Party Skip to content
  • Home
  • About
    • News
  • Elected Officials
  • Monthly Meetings & Volunteer Opportunities
  • Voting Info 2026
  • Events
  • Gallery
  • Contact
  • Donate

Creative

1 item

  • The Trump Verdict – a Call to Action!

    Nam lacinia arcu tortor, nec luctus nibh dignissim eu nulla sit amet maximus.

    Continue reading
Subscribe to Our Email List
(502) 584-7111
louisville_gop@icloud.com
© 2023 - 2026 • by ThemeFusion • All Rights Reserved • Powered by WordPress
Page load link
Go to Top