pub fn init_session_salt(seed: u32)Expand description
Initialize session-specific error code salt.
Call this once per session/connection to enable per-session obfuscation. The salt affects all errors created in this thread until re-initialized.
§Arguments
seed- Any u32 value (session ID, connection hash, random number)
§Implementation Note
We use only the lower 3 bits (0-7 range) to keep codes within their namespace ranges and avoid collisions.