PushNotificationsError
public enum PushNotificationsError
extension PushNotificationsError: AmplifyError
Push Notifications Error
-
Configuration Error
Declaration
Swift
case configuration(ErrorDescription, RecoverySuggestion, _: Error? = nil)
-
Network Error
Declaration
Swift
case network(ErrorDescription, RecoverySuggestion, _: Error? = nil)
-
Service Error
Declaration
Swift
case service(ErrorDescription, RecoverySuggestion, _: Error? = nil)
-
Unknown Error
Declaration
Swift
case unknown(ErrorDescription, _: Error? = nil)
-
Declaration
Swift
public var errorDescription: ErrorDescription { get }
-
Declaration
Swift
public var recoverySuggestion: RecoverySuggestion { get }
-
Declaration
Swift
public var underlyingError: Error? { get }
-
Declaration
Swift
public init( errorDescription: ErrorDescription = "An unknown error occurred", recoverySuggestion: RecoverySuggestion = "(Ignored)", error: Error )