Explore Library
QuizAdvanced

Detecting Network Failures

Learn which URLSession completion handler parameter signals a failed request.

In a URLSession dataTask completion handler `(data, response, error)`, what typically indicates that the request failed to reach the server due to flaky connectivity (e.g. no internet)?