Error
extension Error
-
A computed variable added to the Error protocol as an extension that returns itself cast as a NSError error code.
This variable is required to allow
printAlertsForCopyFileError(_:_:_:)
to identify file copy errors.Declaration
Swift
var code: Int { get }
-
A computed variable added to the Error protocol as an extension that returns itself cast as a NSError error domain.
Declaration
Swift
var domain: String { get }