pub fn fetch_token<F>(lookup: F) -> Result<String, TokenError>where F: FnMut(&str) -> Result<String, VarError>,