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

Function remote_err

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

205
206/// Convenience: map a [`atomic_remote::RemoteError`] to a [`CliError`].
207pub fn remote_err(e: atomic_remote::RemoteError) -> CliError {
208 CliError::RemoteError {
209 message: e.to_string(),
210 url: None,
211 }
212}
213
214/// Resolve the org slug for a command, with fallback to the configured default.
215///

Callers 4

verify_workspace_existsFunction · 0.85
executeMethod · 0.85
map_project_errorFunction · 0.85

Calls

no outgoing calls

Tested by 1