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

Method error_kind

sdk/python/src/lib.rs:334–339  ·  view source on GitHub ↗
(&self, py: Python<'_>)

Source from the content-addressed store, hash-verified

332 /// scanning ``tool_output``.
333 #[getter]
334 fn error_kind(&self, py: Python<'_>) -> PyResult<Option<PyObject>> {
335 self.error_kind_json
336 .as_deref()
337 .map(|json| json_string_to_py(py, json))
338 .transpose()
339 }
340}
341
342impl From<RustAgentEvent> for PyAgentEvent {

Callers

nothing calls this directly

Calls 1

json_string_to_pyFunction · 0.85

Tested by

no test coverage detected