(
error: atomic_remote::RemoteError,
ws_slug: &str,
proj_slug: &str,
)
| 129 | } |
| 130 | |
| 131 | fn map_project_error( |
| 132 | error: atomic_remote::RemoteError, |
| 133 | ws_slug: &str, |
| 134 | proj_slug: &str, |
| 135 | ) -> CliError { |
| 136 | if error.is_not_found() { |
| 137 | print_error(&format!( |
| 138 | "Project '{}' not found in workspace '{}'", |
| 139 | proj_slug, ws_slug, |
| 140 | )); |
| 141 | } |
| 142 | |
| 143 | remote_err(error) |
| 144 | } |
| 145 | |
| 146 | #[cfg(test)] |
| 147 | mod tests { |
no test coverage detected