Skip to main content

node_error_code

Function node_error_code 

Source
pub fn node_error_code(error: &Error) -> &'static str
Expand description

Stable Node-style cause code. Rustls cannot distinguish a missing intermediate from an untrusted root; both map to UNABLE_TO_VERIFY_LEAF_SIGNATURE.