Skip to main content

calculate_exact_error_identifier

Function calculate_exact_error_identifier 

Source
pub fn calculate_exact_error_identifier(
    service: &str,
    error_source: &str,
    message: &str,
    stack_trace: Option<&str>,
) -> String
Expand description

Computes a stable BLAKE3 identifier for an exact error variant.

Components are separated by null bytes so that (“foo”, “”) and (“”, “foo”) never collide.