function UserAbortException::__construct
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Command/Exception/UserAbortException.php \Drupal\Core\Command\Exception\UserAbortException::__construct()
File
-
core/
lib/ Drupal/ Core/ Command/ Exception/ UserAbortException.php, line 12
Class
- UserAbortException
- Thrown when a user declines an interactive console confirmation prompt.
Namespace
Drupal\Core\Command\ExceptionCode
public function __construct(string $message = 'Operation cancelled by user.', int $code = 0, ?\Throwable $previous = NULL) {
parent::__construct($message, $code, $previous);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.