AccountError

public enum AccountError : FRError
extension AccountError: CustomNSError

AccountError represents an error captured by FRAuthenticator SDK for any operations related to Account class

  • accountLocked: Operation cannot be completed, Account is locked
  • failToLockMissingPolicyName: Missing or invalid name for the given Policy
  • failToLockInvalidPolicy: Given policy was not attached during Account registration.
  • failToLockAccountAlreadyLocked: Given Account is already locked
  • failToUnlockAccountNotLocked: Given Account is not locked
  • failToRegisterPolicyViolation: Account cannot be registered on the device due to policy violation

CustomNSError protocols

  • An error domain for AccountError

    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 }