]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/Requests/Exception/HTTP/402.php
Wordpress 4.6-scripts
[autoinstalls/wordpress.git] / wp-includes / Requests / Exception / HTTP / 402.php
diff --git a/wp-includes/Requests/Exception/HTTP/402.php b/wp-includes/Requests/Exception/HTTP/402.php
new file mode 100644 (file)
index 0000000..1d965d2
--- /dev/null
@@ -0,0 +1,27 @@
+<?php
+/**
+ * Exception for 402 Payment Required responses
+ *
+ * @package Requests
+ */
+
+/**
+ * Exception for 402 Payment Required responses
+ *
+ * @package Requests
+ */
+class Requests_Exception_HTTP_402 extends Requests_Exception_HTTP {
+       /**
+        * HTTP status code
+        *
+        * @var integer
+        */
+       protected $code = 402;
+
+       /**
+        * Reason phrase
+        *
+        * @var string
+        */
+       protected $reason = 'Payment Required';
+}
\ No newline at end of file