request(_:didFailWithError:)
Provides any errors that occur during processing of the request.
Declaration
optional func request(_ request: any SNRequest, didFailWithError error: any Error)Parameters
- request:
The request that produces the error.
- error:
The error that occurs during the request.
Discussion
The analyzer stops processing a specific request when it encounters an error, and doesn’t call requestDidComplete(_:).