Make getNavigationErrors() return a Promise