ConfigError

public enum ConfigError : FRError
extension ConfigError: CustomNSError

ConfigError represents an error captured by FRAuth SDK for missing or invalid configuration

  • emptyConfiguration: Empty configuration is provided for initialization
  • invalidConfiguration: Missing or invalid configuration is provided
  • invalidAccessGroup: Invalid Access Group; given Access Group is not accessible with Keychain Service
  • invalidSDKState: Invalid SDK state; SDK may need to be initialized before performing certain action
  • Declaration

    Swift

    case emptyConfiguration
  • Declaration

    Swift

    case invalidConfiguration(String)
  • Declaration

    Swift

    case invalidAccessGroup(String)
  • Declaration

    Swift

    case invalidSDKState
  • Unique error code for given error

    Declaration

    Swift

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

    Declaration

    Swift

    func parseErrorCode() -> Int

    Return Value

    Int value of unique error code

CustomNSError protocols

  • An error domain for ConfigError

    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 }