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

Function map_remote_404_to_org_not_found

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

Source from the content-addressed store, hash-verified

110
111 #[test]
112 fn map_remote_404_to_org_not_found() {
113 let remote = atomic_remote::RemoteError::http(404, "Not Found");
114 let err = map_remote_error(remote, "org acme");
115 assert!(matches!(err, TeamsError::OrgNotFound(ref s) if s == "org acme"));
116 }
117
118 #[test]
119 fn map_remote_404_to_team_not_found() {

Callers

nothing calls this directly

Calls 1

map_remote_errorFunction · 0.85

Tested by

no test coverage detected