OSStatus
extension OSStatus
-
Check that the value of an OSStatus is
noErr
otherwise throw an NSError exception.Throws
throws exception if notnoErr
Declaration
Swift
public func check() throws