aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/scssphp/scssphp/src/Exception/ServerException.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/scssphp/scssphp/src/Exception/ServerException.php')
-rw-r--r--vendor/scssphp/scssphp/src/Exception/ServerException.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/vendor/scssphp/scssphp/src/Exception/ServerException.php b/vendor/scssphp/scssphp/src/Exception/ServerException.php
new file mode 100644
index 000000000..e593c4014
--- /dev/null
+++ b/vendor/scssphp/scssphp/src/Exception/ServerException.php
@@ -0,0 +1,26 @@
+<?php
+
+/**
+ * SCSSPHP
+ *
+ * @copyright 2012-2020 Leaf Corcoran
+ *
+ * @license http://opensource.org/licenses/MIT MIT
+ *
+ * @link http://scssphp.github.io/scssphp
+ */
+
+namespace ScssPhp\ScssPhp\Exception;
+
+@trigger_error(sprintf('The "%s" class is deprecated.', ServerException::class), E_USER_DEPRECATED);
+
+/**
+ * Server Exception
+ *
+ * @author Anthon Pang <anthon.pang@gmail.com>
+ *
+ * @deprecated The Scssphp server should define its own exception instead.
+ */
+class ServerException extends \Exception implements SassException
+{
+}