MechanismError

public enum MechanismError : FRError
extension MechanismError: CustomNSError

MechanismError represents an error captured by FRAuthenticator SDK for any operations related to Mechanism class

  • invalidQRCode: Fail to parse or validate given QR Code
  • invalidType: Given QR Code does not have valid type
  • missingInformation: Given QR Code does not contain necessary information to construct Mechanism object
  • invalidInformation: Given QR Code contains some invalid information to construct Mechanism object

CustomNSError protocols

  • An error domain for MechanismError

    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 }