NotificationError

public enum NotificationError : FRError
extension NotificationError: CustomNSError

NotificationError represents an error captured by FRAuthenticator SDK for any operation related to Notification

  • invalidPayload: Given payload contains invalid information to construct Notification object
  • Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    func parseErrorCode() -> Int

    Return Value

    Int value of unique error code

CustomNSError protocols

  • An error domain for NotificationError

    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 }