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

Method auth_failed

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

Create an authentication failed error.

(url: impl Into<String>, message: impl Into<String>)

Source from the content-addressed store, hash-verified

199
200 /// Create an authentication failed error.
201 pub fn auth_failed(url: impl Into<String>, message: impl Into<String>) -> Self {
202 Self::AuthenticationFailed {
203 url: url.into(),
204 message: message.into(),
205 }
206 }
207
208 /// Create a repository not found error.
209 pub fn repo_not_found(url: impl Into<String>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected