Enumeration Case

URLError.NetworkUnavailableReason.constrained

A reason that indicates network is unavailable because the user enabled “Low Data Mode” in the Settings app.

Declaration

case constrained

Discussion

This reason occurs when the following conditions are true:

See Also

Unavailability Reasons

case cellular

A reason that indicates network is unavailable because the interface is cellular and cellular network is disabled.

case expensive

A reason that indicates network is unavailable because the system marked the interface as expensive.