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

Function remote_err

atomic-cli/src/commands/client.rs:298–303  ·  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

296
297/// Convenience: map a [`atomic_remote::RemoteError`] to a [`CliError`].
298pub fn remote_err(e: atomic_remote::RemoteError) -> CliError {
299 CliError::RemoteError {
300 message: e.to_string(),
301 url: None,
302 }
303}
304
305/// Resolve the org slug for a command, with fallback to the configured default.
306///

Callers 6

project_initFunction · 0.85
verify_workspace_existsFunction · 0.85
executeMethod · 0.85
map_project_errorFunction · 0.85
map_remote_errorMethod · 0.85

Calls

no outgoing calls

Tested by 1