pub fn response_err_message(err: &Error) -> Result<String>