MCPcopy Create free account
hub / github.com/AI45Lab/Code / error

Method error

core/src/tools/mod.rs:190–199  ·  view source on GitHub ↗
(name: &str, message: String)

Source from the content-addressed store, hash-verified

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
202impl From<ToolOutput> for ToolResult {

Callers 15

stream_fix_test.tsFile · 0.45
debug_sse.tsFile · 0.45
mainFunction · 0.45
test_quick.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected