SocialLoginError

public enum SocialLoginError : FRError
extension SocialLoginError: CustomNSError
  • Declaration

    Swift

    case notSupported(String)
  • Declaration

    Swift

    case unsupportedCredentials(String)
  • Declaration

    Swift

    case cancelled
  • Declaration

    Swift

    case missingIdPHandler
  • Unique error code for given error

    Declaration

    Swift

    var code: Int { get }
  • Parses SocialLoginError value into integer error code

    Declaration

    Swift

    func parseErrorCode() -> Int

    Return Value

    Int value of unique error code

CustomNSError protocols

  • An error domain for OAuth2Error

    Declaration

    Swift

    public static var errorDomain: String { get }
  • Error codes for each error enum

    Declaration

    Swift

    public var errorCode: Int { get }
  • Error UserInfo

    Declaration

    Swift

    public var errorUserInfo: [String : Any] { get }