pub fn error_code_from_msg(msg: impl AsRef<str>) -> BaseElementExpand description
Derives an error code from an error message by hashing the message and returning the 0th element
of the resulting Word.
pub fn error_code_from_msg(msg: impl AsRef<str>) -> BaseElementDerives an error code from an error message by hashing the message and returning the 0th element
of the resulting Word.