(
vm: &VirtualMachine,
msg: impl Into<String>,
)
| 134 | } |
| 135 | |
| 136 | pub fn create_ssl_syscall_error( |
| 137 | vm: &VirtualMachine, |
| 138 | msg: impl Into<String>, |
| 139 | ) -> PyRef<PyOSError> { |
| 140 | vm.new_os_subtype_error( |
| 141 | PySSLSyscallError::class(&vm.ctx).to_owned(), |
| 142 | Some(SSL_ERROR_SYSCALL), |
| 143 | msg.into(), |
| 144 | ) |
| 145 | } |
| 146 | } |
no test coverage detected