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

Function decrypt_failed

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

Source from the content-addressed store, hash-verified

111 }
112
113 pub fn decrypt_failed(e: impl Display) -> io::Error {
114 io::Error::other(format!(
115 "Failed to decrypt private key (wrong password?): {e}",
116 ))
117 }
118 }
119
120 /// Convert error message to rustls::Error with InvalidCertificate wrapper

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected