aboutsummaryrefslogtreecommitdiff
path: root/srcs/wordpress/wp-includes/Requests/Exception.php
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-07-27 10:05:23 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-07-27 10:05:23 +0200
commit5bf66662a9bdd62c5bccab15e607cd95cfb8fcab (patch)
tree39a1a4629749056191c05dfd899f931701b7acf3 /srcs/wordpress/wp-includes/Requests/Exception.php
parent5afd237bbd22028b85532b8c0b3fcead49a00764 (diff)
downloadft_server-5bf66662a9bdd62c5bccab15e607cd95cfb8fcab.tar.gz
ft_server-5bf66662a9bdd62c5bccab15e607cd95cfb8fcab.tar.bz2
ft_server-5bf66662a9bdd62c5bccab15e607cd95cfb8fcab.zip
Removed wordpress and phpmyadmin, my server doesn't handle it well and it brings shame on my famillyHEADmaster
Diffstat (limited to 'srcs/wordpress/wp-includes/Requests/Exception.php')
-rw-r--r--srcs/wordpress/wp-includes/Requests/Exception.php62
1 files changed, 0 insertions, 62 deletions
diff --git a/srcs/wordpress/wp-includes/Requests/Exception.php b/srcs/wordpress/wp-includes/Requests/Exception.php
deleted file mode 100644
index 37d4711..0000000
--- a/srcs/wordpress/wp-includes/Requests/Exception.php
+++ /dev/null
@@ -1,62 +0,0 @@
-<?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;
- }
-} \ No newline at end of file