MCPcopy Index your code
hub / github.com/RustPython/RustPython / timeout_error_msg

Function timeout_error_msg

crates/stdlib/src/socket.rs:3362–3364  ·  view source on GitHub ↗
(vm: &VirtualMachine, msg: String)

Source from the content-addressed store, hash-verified

3360 timeout_error_msg(vm, "timed out".to_owned())
3361 }
3362 pub(crate) fn timeout_error_msg(vm: &VirtualMachine, msg: String) -> PyRef<PyOSError> {
3363 vm.new_os_subtype_error(timeout(vm), None, msg)
3364 }
3365
3366 fn get_ipv6_addr_str(ipv6: Ipv6Addr) -> String {
3367 match ipv6.to_ipv4() {

Callers 12

shutdownMethod · 0.85
do_handshakeMethod · 0.85
writeMethod · 0.85
readMethod · 0.85
timeout_errorFunction · 0.85
send_tls_outputMethod · 0.85
readMethod · 0.85
writeMethod · 0.85
shutdownMethod · 0.85
into_py_errMethod · 0.85

Calls 2

new_os_subtype_errorMethod · 0.80
timeoutFunction · 0.70

Tested by

no test coverage detected