MCPcopy Index your code
hub / github.com/InfinitiBit/graphbit / timeout_error

Function timeout_error

python/src/errors.rs:224–231  ·  view source on GitHub ↗

Create timeout error with operation context

(operation: &str, duration_ms: u64, message: &str)

Source from the content-addressed store, hash-verified

222
223/// Create timeout error with operation context
224pub(crate) fn timeout_error(operation: &str, duration_ms: u64, message: &str) -> PyErr {
225 let error = PythonBindingError::Timeout {
226 message: message.to_string(),
227 operation: operation.to_string(),
228 duration_ms,
229 };
230 python_error_to_py_err(error)
231}

Callers 3

executeMethod · 0.85
run_asyncMethod · 0.85

Calls 2

python_error_to_py_errFunction · 0.85
to_stringMethod · 0.80

Tested by

no test coverage detected