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

Function parse_failed

crates/stdlib/src/ssl/cert.rs:71–73  ·  view source on GitHub ↗
(e: impl Display)

Source from the content-addressed store, hash-verified

69 }
70
71 pub fn parse_failed(e: impl Display) -> io::Error {
72 invalid_data(format!("Failed to parse PEM certificate: {e}"))
73 }
74
75 pub fn parse_failed_debug(e: impl Debug) -> io::Error {
76 invalid_data(format!("Failed to parse PEM certificate: {e:?}"))

Callers 2

load_from_bytes_exMethod · 0.85

Calls 1

invalid_dataFunction · 0.85

Tested by

no test coverage detected