You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
URLError is missing codes for NSURLErrorAppTransportSecurityRequiresSecureConnection and NSURLErrorDataLengthExceedsMaximum.
In addition, the codes .backgroundSessionRequiresSharedContainer, .backgroundSessionInUseByAnotherProcess, and .backgroundSessionWasDisconnected are broken. They're implemented as computed properties instead of enum cases, which means accessing them actually crashes. And the accessors on URLError.Code aren't even public (but they're exposed via the computed properties on URLError).
The text was updated successfully, but these errors were encountered:
Environment
Apple Swift version 3.0.2 (swiftlang-800.0.63 clang-800.0.42.1)
Apple Swift version 3.1 (swiftlang-802.0.31.3 clang-802.0.30.2)
Additional Detail from JIRA
md5: eea1f362bef24b9cdd7bc75bc45fa252
Issue Description:
URLError
is missing codes forNSURLErrorAppTransportSecurityRequiresSecureConnection
andNSURLErrorDataLengthExceedsMaximum
.In addition, the codes
.backgroundSessionRequiresSharedContainer
,.backgroundSessionInUseByAnotherProcess
, and.backgroundSessionWasDisconnected
are broken. They're implemented as computed properties instead of enum cases, which means accessing them actually crashes. And the accessors onURLError.Code
aren't even public (but they're exposed via the computed properties onURLError
).The text was updated successfully, but these errors were encountered: