NSError
Undocumented
-
Converts an NSURLError to have a more friendly user error message using the
userFacingDescription()
anduserFacingRecoverySuggestion()
methods onNSURLError
.Declaration
Swift
public func userFacingError() -> NSError
-
Declaration
Swift
public func userFacingErrorWithUsingFacing(uf:UserFacing) -> NSError
Return Value
A configured
NSError
object with updatedNSLocalizedDescription
andNSLocalizedRecoverySuggestionErrorKey
if the values ofUserFacing
returned is notnil
.