Skip to main content

Module error_identifier

Module error_identifier 

Source

Staticsยง

BUNDLER_HASH_RE ๐Ÿ”’
HEX_ADDR_RE ๐Ÿ”’
LONG_NUMBER_RE ๐Ÿ”’
TIMESTAMP_RE ๐Ÿ”’
UUID_RE ๐Ÿ”’

Functionsยง

calculate_error_grouping_identifier
Computes a stable BLAKE3 identifier for broadly grouping related errors.
calculate_exact_error_identifier
Computes a stable BLAKE3 identifier for an exact error variant.
canonicalize_grouping_message
hash_identifier ๐Ÿ”’
normalize_message
Normalizes dynamic values out of an error message so that errors with different UUIDs, addresses, or IDs still hash to the same identifier.
normalize_stack_trace
Normalizes a stack trace: strips dynamic addresses and bundler hashes, and trims each line.