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

Function not_found

crates/stdlib/src/ssl/cert.rs:101–103  ·  view source on GitHub ↗
(context: &str)

Source from the content-addressed store, hash-verified

99 use super::*;
100
101 pub fn not_found(context: &str) -> io::Error {
102 invalid_data(format!("No private key found in {context}"))
103 }
104
105 pub fn parse_failed(e: impl Display) -> io::Error {
106 invalid_data(format!("Failed to parse private key: {e}"))

Callers 1

Calls 1

invalid_dataFunction · 0.85

Tested by

no test coverage detected