logo
pub fn map_hashing_error(hashing_error: Error) -> impl Fn(&'static str) -> Error
Expand description

Takes an external error and returns a casper_hashing::Error variant and allows you to pass along error context.