SAPcpmsRemoteNotificationError
public enum SAPcpmsRemoteNotificationError : Error
extension SAPcpmsRemoteNotificationError: SAPError
Enum which covers all Errors occuring in the RemoteNotificationClient.
-
Occurs if the deviceToken parameter is empty.
Declaration
Swift
case emptyDeviceToken -
Occurs if network communication failed.
Declaration
Swift
case networkCommunicationFailed(error: Error?, httpStatuscode: Int?, response: String?) -
no valid notification ID found in the given parameter
Declaration
Swift
case notificationIDMissing -
feedback url has not been set
Declaration
Swift
case feedbackUrlMissing -
invalid arguments
Declaration
Swift
case invalidArguments(error: Error?)
-
Message describing the error
Declaration
Swift
public var description: String { get } -
A localized message describing what error occurred.
Declaration
Swift
public var errorDescription: String? { get } -
A textual representation of this instance, suitable for debugging.
Declaration
Swift
public var debugDescription: String { get } -
A localized message describing the reason for the failure.
Declaration
Swift
public var failureReason: String? { get }