[SDK] Convert URLError.Code to a struct and add missing cases
[SDK] Convert URLError.Code to a struct and add missing cases

URLError.Code was an enum, which is a bad idea because it can lead to
crashes if the enum doesn't cover a legitimate error code. Convert it to
a struct to match how CocoaError.Code is implemented.

Also add the missing cases `. dataLengthExceedsMaximum` and
`. appTransportSecurityRequiresSecureConnection`, and fix the broken
cases `.backgroundSessionRequiresSharedContainer`,
`.backgroundSessionInUseByAnotherProcess`, and
`.backgroundSessionWasDisconnected`.

natecook1000/swift,bitjammer/swift,apple/swift,amraboelela/swift,milseman/swift,jmgc/swift,sschiau/swift,tkremenek/swift,nathawes/swift,apple/swift,uasys/swift,CodaFi/swift,sschiau/swift,CodaFi/swift,rudkx/swift,benlangmuir/swift,calebd/swift,ahoppen/swift,stephentyrone/swift,deyton/swift,huonw/swift,manavgabhawala/swift,roambotics/swift,ahoppen/swift,felix91gr/swift,jopamer/swift,shajrawi/swift,rudkx/swift,austinzheng/swift,milseman/swift,alblue/swift,airspeedswift/swift,swiftix/swift,shahmishal/swift,frootloops/swift,brentdax/swift,roambotics/swift,jckarter/swift,jmgc/swift,amraboelela/swift,parkera/swift,harlanhaskins/swift,devincoughlin/swift,OscarSwanros/swift,calebd/swift,glessard/swift,karwa/swift,benlangmuir/swift,jtbandes/swift,aschwaighofer/swift,OscarSwanros/swift,tjw/swift,codestergit/swift,huonw/swift,codestergit/swift,felix91gr/swift,gribozavr/swift,jtbandes/swift,gregomni/swift,shajrawi/swift,hooman/swift,jckarter/swift,JGiola/swift,jtbandes/swift,austinzheng/swift,Jnosh/swift,tinysun212/swift-windows,tkremenek/swift,JGiola/swift,harlanhaskins/swift,practicalswift/swift,codestergit/swift,gribozavr/swift,xedin/swift,benlangmuir/swift,jmgc/swift,codestergit/swift,amraboelela/swift,frootloops/swift,jopamer/swift,uasys/swift,shahmishal/swift,huonw/swift,jmgc/swift,uasys/swift,zisko/swift,arvedviehweger/swift,jtbandes/swift,huonw/swift,CodaFi/swift,atrick/swift,nathawes/swift,nathawes/swift,atrick/swift,rudkx/swift,gribozavr/swift,gribozavr/swift,jtbandes/swift,danielmartin/swift,gribozavr/swift,tkremenek/swift,OscarSwanros/swift,felix91gr/swift,hooman/swift,Jnosh/swift,deyton/swift,lorentey/swift,lorentey/swift,xedin/swift,jckarter/swift,austinzheng/swift,apple/swift,arvedviehweger/swift,ahoppen/swift,stephentyrone/swift,karwa/swift,glessard/swift,devincoughlin/swift,codestergit/swift,jopamer/swift,return/swift,JGiola/swift,amraboelela/swift,return/swift,apple/swift,shajrawi/swift,arvedviehweger/swift,xwu/swift,jopamer/swift,xedin/swift,airspeedswift/swift,lorentey/swift,aschwaighofer/swift,CodaFi/swift,huonw/swift,djwbrown/swift,jckarter/swift,amraboelela/swift,ahoppen/swift,djwbrown/swift,jopamer/swift,stephentyrone/swift,amraboelela/swift,natecook1000/swift,deyton/swift,devincoughlin/swift,shajrawi/swift,tinysun212/swift-windows,gregomni/swift,OscarSwanros/swift,felix91gr/swift,benlangmuir/swift,benlangmuir/swift,shajrawi/swift,hughbe/swift,danielmartin/swift,natecook1000/swift,harlanhaskins/swift,hughbe/swift,xedin/swift,arvedviehweger/swift,rudkx/swift,glessard/swift,harlanhaskins/swift,OscarSwanros/swift,swiftix/swift,gregomni/swift,hooman/swift,shajrawi/swift,shahmishal/swift,Jnosh/swift,JGiola/swift,parkera/swift,tjw/swift,rudkx/swift,Jnosh/swift,jopamer/swift,tjw/swift,calebd/swift,brentdax/swift,frootloops/swift,nathawes/swift,calebd/swift,zisko/swift,hooman/swift,manavgabhawala/swift,ahoppen/swift,frootloops/swift,uasys/swift,arvedviehweger/swift,practicalswift/swift,devincoughlin/swift,swiftix/swift,xedin/swift,milseman/swift,zisko/swift,OscarSwanros/swift,swiftix/swift,nathawes/swift,tjw/swift,stephentyrone/swift,gribozavr/swift,sschiau/swift,parkera/swift,roambotics/swift,shahmishal/swift,codestergit/swift,CodaFi/swift,karwa/swift,jtbandes/swift,karwa/swift,allevato/swift,gregomni/swift,practicalswift/swift,atrick/swift,Jnosh/swift,deyton/swift,shahmishal/swift,danielmartin/swift,hughbe/swift,nathawes/swift,bitjammer/swift,djwbrown/swift,danielmartin/swift,swiftix/swift,tinysun212/swift-windows,tinysun212/swift-windows,tjw/swift,djwbrown/swift,practicalswift/swift,gribozavr/swift,austinzheng/swift,lorentey/swift,hughbe/swift,harlanhaskins/swift,sschiau/swift,glessard/swift,hooman/swift,Jnosh/swift,alblue/swift,allevato/swift,harlanhaskins/swift,xwu/swift,hughbe/swift,alblue/swift,apple/swift,allevato/swift,alblue/swift,codestergit/swift,practicalswift/swift,glessard/swift,stephentyrone/swift,allevato/swift,xwu/swift,huonw/swift,felix91gr/swift,harlanhaskins/swift,xwu/swift,CodaFi/swift,felix91gr/swift,xedin/swift,tkremenek/swift,shahmishal/swift,amraboelela/swift,djwbrown/swift,parkera/swift,gribozavr/swift,djwbrown/swift,shajrawi/swift,OscarSwanros/swift,uasys/swift,return/swift,brentdax/swift,atrick/swift,felix91gr/swift,aschwaighofer/swift,arvedviehweger/swift,rudkx/swift,aschwaighofer/swift,hooman/swift,devincoughlin/swift,tkremenek/swift,nathawes/swift,aschwaighofer/swift,apple/swift,stephentyrone/swift,swiftix/swift,roambotics/swift,alblue/swift,lorentey/swift,xwu/swift,return/swift,lorentey/swift,manavgabhawala/swift,hughbe/swift,gregomni/swift,jmgc/swift,benlangmuir/swift,jckarter/swift,milseman/swift,tkremenek/swift,hughbe/swift,tinysun212/swift-windows,austinzheng/swift,karwa/swift,uasys/swift,sschiau/swift,calebd/swift,zisko/swift,JGiola/swift,hooman/swift,lorentey/swift,shahmishal/swift,shahmishal/swift,gregomni/swift,danielmartin/swift,atrick/swift,jckarter/swift,airspeedswift/swift,natecook1000/swift,CodaFi/swift,sschiau/swift,brentdax/swift,parkera/swift,return/swift,calebd/swift,airspeedswift/swift,allevato/swift,devincoughlin/swift,bitjammer/swift,austinzheng/swift,stephentyrone/swift,bitjammer/swift,zisko/swift,deyton/swift,manavgabhawala/swift,tjw/swift,sschiau/swift,brentdax/swift,milseman/swift,xedin/swift,Jnosh/swift,bitjammer/swift,karwa/swift,natecook1000/swift,airspeedswift/swift,deyton/swift,allevato/swift,bitjammer/swift,danielmartin/swift,JGiola/swift,jopamer/swift,tkremenek/swift,jmgc/swift,calebd/swift,brentdax/swift,karwa/swift,airspeedswift/swift,parkera/swift,milseman/swift,zisko/swift,frootloops/swift,tjw/swift,lorentey/swift,glessard/swift,natecook1000/swift,xwu/swift,arvedviehweger/swift,milseman/swift,tinysun212/swift-windows,airspeedswift/swift,practicalswift/swift,sschiau/swift,swiftix/swift,danielmartin/swift,jmgc/swift,practicalswift/swift,aschwaighofer/swift,roambotics/swift,practicalswift/swift,xwu/swift,bitjammer/swift,frootloops/swift,manavgabhawala/swift,frootloops/swift,alblue/swift,brentdax/swift,atrick/swift,manavgabhawala/swift,return/swift,uasys/swift,devincoughlin/swift,roambotics/swift,natecook1000/swift,return/swift,allevato/swift,jckarter/swift,austinzheng/swift,manavgabhawala/swift,parkera/swift,jtbandes/swift,alblue/swift,parkera/swift,xedin/swift,ahoppen/swift,karwa/swift,devincoughlin/swift,djwbrown/swift,zisko/swift,aschwaighofer/swift,huonw/swift,shajrawi/swift,tinysun212/swift-windows,deyton/swift