Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / drush / drush / src / Exceptions / UserAbortException.php
diff --git a/vendor/drush/drush/src/Exceptions/UserAbortException.php b/vendor/drush/drush/src/Exceptions/UserAbortException.php
new file mode 100644 (file)
index 0000000..2d2a671
--- /dev/null
@@ -0,0 +1,16 @@
+<?php
+
+namespace Drush\Exceptions;
+
+use Throwable;
+
+/**
+ * Throw an exception indicating that the user cancelled the operation.
+ */
+class UserAbortException extends \Exception
+{
+    public function __construct($message = "Cancelled.", $code = 0, \Throwable $previous = null)
+    {
+        parent::__construct($message, $code, $previous);
+    }
+}