UnbluNotificationProcessingError

public enum UnbluNotificationProcessingError : Error, LocalizedError

Errors which are thrown when a notification cannot be processed

  • Thrown if the notification that was processed is not for Unblu

    Declaration

    Swift

    case notForUnblu
  • Thrown if a value for a key cannot be found and there is no default value defined

    Declaration

    Swift

    case unableToProcessKey(String)
  • Thrown if the type of a notifcation is not supported

    Declaration

    Swift

    case unsupportedType(String)
  • Thrown if the call state of a call notification is not supported

    Declaration

    Swift

    case unsupportedCallState(String)
  • Thrown if the call type of a call notification is not supported

    Declaration

    Swift

    case unsupportedCallType(String)
  • Thrown if the version of a notification is not supported

    Declaration

    Swift

    case unsupportedNotificationVersion(String)
  • Thrown if the userInfo of a notification is not defined

    Declaration

    Swift

    case noData
  • A string representation of the error including information about the invalid value etc.

    Declaration

    Swift

    public var localizedDescription: String { get }