NSError

Undocumented

  • Converts an NSURLError to have a more friendly user error message using the userFacingDescription() and userFacingRecoverySuggestion() methods on NSURLError.

    Declaration

    Swift

    public func userFacingError() -> NSError
  • Declaration

    Swift

    public func userFacingErrorWithUsingFacing(uf:UserFacing) -> NSError

    Return Value

    A configured NSError object with updated NSLocalizedDescription and NSLocalizedRecoverySuggestionErrorKey if the values of UserFacing returned is not nil.