--- /dev/null
+<?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);
+ }
+}