(name: &str, message: String)
| 188 | } |
| 189 | |
| 190 | pub fn error(name: &str, message: String) -> Self { |
| 191 | Self { |
| 192 | name: name.to_string(), |
| 193 | output: message, |
| 194 | exit_code: 1, |
| 195 | metadata: None, |
| 196 | images: Vec::new(), |
| 197 | error_kind: None, |
| 198 | } |
| 199 | } |
| 200 | } |
| 201 | |
| 202 | impl From<ToolOutput> for ToolResult { |
no outgoing calls
no test coverage detected