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

Function _raise_exception

crates/stdlib/src/faulthandler.rs:1325–1332  ·  view source on GitHub ↗
(args: RaiseExceptionArgs, _vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

1323 #[cfg(windows)]
1324 #[pyfunction]
1325 fn _raise_exception(args: RaiseExceptionArgs, _vm: &VirtualMachine) {
1326 use windows_sys::Win32::System::Diagnostics::Debug::RaiseException;
1327
1328 suppress_crash_report();
1329 unsafe {
1330 RaiseException(args.code, args.flags, 0, core::ptr::null());
1331 }
1332 }
1333}

Callers

nothing calls this directly

Calls 1

suppress_crash_reportFunction · 0.85

Tested by

no test coverage detected