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

Method new_error

crates/stdlib/src/zlib.rs:463–465  ·  view source on GitHub ↗
(message: impl Into<String>, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

461 }
462
463 fn new_error(message: impl Into<String>, vm: &VirtualMachine) -> PyBaseExceptionRef {
464 new_zlib_error(message, vm)
465 }
466 }
467
468 fn new_zlib_error(message: impl Into<String>, vm: &VirtualMachine) -> PyBaseExceptionRef {

Callers

nothing calls this directly

Calls 1

new_zlib_errorFunction · 0.85

Tested by

no test coverage detected