From f4dd75ef9be445b70d1567a58eb873983a647c62 Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Thu, 4 Aug 2022 19:44:12 +1000 Subject: [PATCH] Update doc on `BinstallError::UserAbort` Signed-off-by: Jiahao XU --- src/errors.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/errors.rs b/src/errors.rs index 1fbfa54e..c1d1de22 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -18,7 +18,9 @@ pub enum BinstallError { #[diagnostic(severity(error), code(binstall::internal::task_join))] TaskJoinError(#[from] task::JoinError), - /// The installation was cancelled by a user at a confirmation prompt. + /// The installation was cancelled by a user at a confirmation prompt, + /// or user send a ctrl_c on all platforms or + /// `SIGINT`, `SIGHUP`, `SIGTERM` or `SIGQUIT` on unix to the program. /// /// - Code: `binstall::user_abort` /// - Exit: 32