Called when the specified search completer is unable to generate a list of search results.
- iOS 9.3+
- macOS 10.11.4+
- Mac Catalyst 13.0+
- tvOS 9.2+
The search completer object reporting the error.
The error object containing the reason for the failure.
Use this object to process any errors that occurred while generating search results. Even when an error occurs, the search completer starts a new search if it already has a new search string. Depending on the error, you might do nothing or let the user know that you were unable to obtain a list of search completions.