Create a connection failed error.
(
url: impl Into<String>,
source: impl std::error::Error + Send + Sync + 'static,
)
| 188 | impl RemoteError { |
| 189 | /// Create a connection failed error. |
| 190 | pub fn connection_failed( |
| 191 | url: impl Into<String>, |
| 192 | source: impl std::error::Error + Send + Sync + 'static, |
| 193 | ) -> Self { |
| 194 | Self::ConnectionFailed { |
| 195 | url: url.into(), |
| 196 | source: Box::new(source), |
| 197 | } |
| 198 | } |
| 199 | |
| 200 | /// Create an authentication failed error. |
| 201 | pub fn auth_failed(url: impl Into<String>, message: impl Into<String>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected