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

Function from_remote_error

atomic-teams/src/error.rs:154–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

152
153 #[test]
154 fn from_remote_error() {
155 let remote = atomic_remote::RemoteError::other("network down");
156 let err: TeamsError = remote.into();
157 assert!(matches!(err, TeamsError::Remote(_)));
158 assert!(err.to_string().contains("network down"));
159 }
160}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected