(vm: &VirtualMachine)
| 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( |
no test coverage detected