(message: impl Into<String>, vm: &VirtualMachine)
| 92 | } |
| 93 | |
| 94 | fn new_lzma_error(message: impl Into<String>, vm: &VirtualMachine) -> PyBaseExceptionRef { |
| 95 | let msg: String = message.into(); |
| 96 | vm.new_exception_msg(vm.class("lzma", "LZMAError"), msg.into()) |
| 97 | } |
| 98 | |
| 99 | fn catch_lzma_error(err: Error, vm: &VirtualMachine) -> PyBaseExceptionRef { |
| 100 | match err { |
no test coverage detected