Skip to main content

redact_error

Function redact_error 

Source
pub fn redact_error(value: &str, policy: &RedactionPolicy) -> String
Expand description

Apply redaction rules to an error string based on the given policy’s error level. Same semantics as redact_string, but gated by RedactionPolicy::error_level.