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

Function faulthandler_ignore_exception

crates/stdlib/src/faulthandler.rs:598–608  ·  view source on GitHub ↗
(code: u32)

Source from the content-addressed store, hash-verified

596
597 #[cfg(windows)]
598 fn faulthandler_ignore_exception(code: u32) -> bool {
599 // bpo-30557: ignore exceptions which are not errors
600 if (code & 0x80000000) == 0 {
601 return true;
602 }
603 // bpo-31701: ignore MSC and COM exceptions
604 if code == 0xE06D7363 || code == 0xE0434352 {
605 return true;
606 }
607 false
608 }
609
610 #[cfg(windows)]
611 unsafe extern "system" fn faulthandler_exc_handler(

Callers 1

faulthandler_exc_handlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected