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

Function teams_err

atomic-cli/src/commands/workspace/grant.rs:39–44  ·  view source on GitHub ↗

Map a `TeamsError` to a `CliError` (same pattern as org member commands).

(e: atomic_teams::TeamsError)

Source from the content-addressed store, hash-verified

37
38/// Map a `TeamsError` to a `CliError` (same pattern as org member commands).
39fn teams_err(e: atomic_teams::TeamsError) -> CliError {
40 CliError::RemoteError {
41 message: e.to_string(),
42 url: None,
43 }
44}
45
46/// Manage workspace permission grants.
47#[derive(Debug, clap::Args)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected