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

Function error_type

crates/stdlib/src/pystruct.rs:320–322  ·  view source on GitHub ↗
(vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

318
319 #[pyattr(name = "error")]
320 fn error_type(vm: &VirtualMachine) -> PyTypeRef {
321 struct_error_type(vm).clone()
322 }
323}

Callers

nothing calls this directly

Calls 2

struct_error_typeFunction · 0.85
cloneMethod · 0.45

Tested by

no test coverage detected