From 079f7fd1b8926cb95da90f426792764bf0a29f5f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 17 Feb 2022 12:36:15 +0000 Subject: [PATCH] ErrorKind::RemoteRefused: Expand on description, narrowing scope --- crates/tor-error/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/tor-error/src/lib.rs b/crates/tor-error/src/lib.rs index 8a308c619..cbdf1053a 100644 --- a/crates/tor-error/src/lib.rs +++ b/crates/tor-error/src/lib.rs @@ -384,6 +384,9 @@ pub enum ErrorKind { /// /// Either it gave an error message indicating that it refused to perform /// the request, or the protocol gives it no room to explain what happened. + /// + /// The remote host in question is on the public internet, or an onion service. + /// This error does not relate to refusals by part of the Tor network. #[display(fmt = "remote host refused our request")] RemoteRefused,