pub fn convert_err(hr: usize, err_msg: &str) -> Result<()>
Expand description

Converts underlying C API error represented by error code into Error structure.