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

Method from

atomic-cli/src/error.rs:429–439  ·  view source on GitHub ↗
(error: atomic_remote::auth::AuthError)

Source from the content-addressed store, hash-verified

427
428impl From<atomic_remote::auth::AuthError> for CliError {
429 fn from(error: atomic_remote::auth::AuthError) -> Self {
430 match error {
431 atomic_remote::auth::AuthError::Internal(error) => Self::Internal(error),
432 atomic_remote::auth::AuthError::AuthenticationFailed { remote } => {
433 Self::AuthenticationFailed { remote }
434 }
435 atomic_remote::auth::AuthError::DelegationError { message } => {
436 Self::DelegationError { message }
437 }
438 }
439 }
440}
441
442impl CliError {

Callers 3

compaction.test.tsFile · 0.45
fixtureFunction · 0.45

Calls

no outgoing calls

Tested by 1

fixtureFunction · 0.36