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

Function parse_failed_debug

crates/stdlib/src/ssl/cert.rs:75–77  ·  view source on GitHub ↗
(e: impl Debug)

Source from the content-addressed store, hash-verified

73 }
74
75 pub fn parse_failed_debug(e: impl Debug) -> io::Error {
76 invalid_data(format!("Failed to parse PEM certificate: {e:?}"))
77 }
78
79 pub fn invalid_cert() -> io::Error {
80 invalid_data("No certificates found in certificate file")

Callers 1

load_from_bytes_exMethod · 0.85

Calls 1

invalid_dataFunction · 0.85

Tested by

no test coverage detected