OSStatus
extension OSStatus
-
Check that the value of an OSStatus is
noErrotherwise throw an NSError exception.Throws
throws exception if notnoErrDeclaration
Swift
public func check() throws
View on GitHub
OSStatus Extension Reference