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

Function map_remote_404_to_team_not_found

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

Source from the content-addressed store, hash-verified

117
118 #[test]
119 fn map_remote_404_to_team_not_found() {
120 let remote = atomic_remote::RemoteError::http(404, "Not Found");
121 let err = map_remote_error(remote, "team backend");
122 assert!(matches!(err, TeamsError::TeamNotFound(ref s) if s == "team backend"));
123 }
124
125 #[test]
126 fn map_remote_404_to_member_not_found() {

Callers

nothing calls this directly

Calls 1

map_remote_errorFunction · 0.85

Tested by

no test coverage detected