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

Function create_ssl_eof_error

crates/stdlib/src/ssl/error.rs:120–126  ·  view source on GitHub ↗
(vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

118 }
119
120 pub fn create_ssl_eof_error(vm: &VirtualMachine) -> PyRef<PyOSError> {
121 vm.new_os_subtype_error(
122 PySSLEOFError::class(&vm.ctx).to_owned(),
123 Some(SSL_ERROR_EOF),
124 "EOF occurred in violation of protocol",
125 )
126 }
127
128 pub fn create_ssl_zero_return_error(vm: &VirtualMachine) -> PyRef<PyOSError> {
129 vm.new_os_subtype_error(

Callers 4

readMethod · 0.85
convert_ssl_errorFunction · 0.85
readMethod · 0.85
into_py_errMethod · 0.85

Calls 3

new_os_subtype_errorMethod · 0.80
SomeClass · 0.50
to_ownedMethod · 0.45

Tested by

no test coverage detected