MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / connection_failed

Method connection_failed

atomic-remote/src/error.rs:190–198  ·  view source on GitHub ↗

Create a connection failed error.

(
        url: impl Into<String>,
        source: impl std::error::Error + Send + Sync + 'static,
    )

Source from the content-addressed store, hash-verified

188impl 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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected