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

Function remote_err

atomic-cli/src/commands/client.rs:134–139  ·  view source on GitHub ↗

Convenience: map a [`atomic_remote::RemoteError`] to a [`CliError`].

(e: atomic_remote::RemoteError)

Source from the content-addressed store, hash-verified

132
133/// Convenience: map a [`atomic_remote::RemoteError`] to a [`CliError`].
134pub fn remote_err(e: atomic_remote::RemoteError) -> CliError {
135 CliError::RemoteError {
136 message: e.to_string(),
137 url: None,
138 }
139}
140
141/// Resolve the org slug for a command, with fallback to the configured default.
142///

Callers 4

verify_workspace_existsFunction · 0.85
executeMethod · 0.85
runMethod · 0.85

Calls

no outgoing calls

Tested by 1