Function try_query

Source
pub fn try_query<T>(f: impl FnOnce() -> QueryResult<T>) -> QueryResult<T>