Constantsยง
- PART_
SEPARATOR ๐ - Frames the parts of an identifier. The stored
error_variants.exact_error_identifiervalues were computed with it and its meaning is documented in that columnโs comment, so it cannot change without orphaning every row.
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 ๐ - Digests
partsframed byPART_SEPARATOR, dropping the separator wherever a part contains it itself. - 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.