(vm: &VirtualMachine)
| 110 | } |
| 111 | |
| 112 | pub fn create_ssl_want_write_error(vm: &VirtualMachine) -> PyRef<PyOSError> { |
| 113 | vm.new_os_subtype_error( |
| 114 | PySSLWantWriteError::class(&vm.ctx).to_owned(), |
| 115 | Some(SSL_ERROR_WANT_WRITE), |
| 116 | "The operation did not complete (write)", |
| 117 | ) |
| 118 | } |
| 119 | |
| 120 | pub fn create_ssl_eof_error(vm: &VirtualMachine) -> PyRef<PyOSError> { |
| 121 | vm.new_os_subtype_error( |
no test coverage detected