Module error

Source
Expand description

Utility code related to error types: mbedtls::Error and rustls::Error

Functionsยง

mbedtls_err_into_rustls_err
Converts an mbedtls::Error into a rustls::Error
mbedtls_err_into_rustls_err_with_error_msg
Converts an mbedtls::Error into a rustls::Error; may include the provided msg in the returned error (e.g., if returning a rustls::Error::General error).