PushNotificationError

public enum PushNotificationError : FRError
extension PushNotificationError: CustomNSError

PushNotificationError represents an error captured or created by FRAuthenticator SDK for any operation related to Push Notification registration / authentication process

  • missingDeviceToken: Device Token to be used for push registration is missing
  • Declaration

    Swift

    case missingDeviceToken
  • Declaration

    Swift

    case notificationInvalidStatus
  • Declaration

    Swift

    case storageError(String)
  • Unique error code for given error

    Declaration

    Swift

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

    Declaration

    Swift

    func parseErrorCode() -> Int

    Return Value

    Int value of unique error code

CustomNSError protocols

  • An error domain for PushNotificationError

    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 }