Function error_code_from_msg

Source
pub fn error_code_from_msg(msg: impl AsRef<str>) -> BaseElement
Expand description

Derives an error code from an error message by hashing the message and interpreting the first 64 bits as a Felt.