DataCollectionConsentError
public enum DataCollectionConsentError : Error
extension DataCollectionConsentError: SAPError
Enum to handle errors in DataCollectionConsentStep
-
- cancelled: thrown when user cancelled any of the data collection consent screen
Declaration
Swift
case cancelled -
- missing: thrown when there is no DataCollectionConsent content
Declaration
Swift
case missing -
Message describing the error
Declaration
Swift
public var description: String { get } -
A textual representation of this instance, suitable for debugging.
Declaration
Swift
public var debugDescription: String { get } -
A localized message describing what error occurred.
Declaration
Swift
public var errorDescription: String? { get } -
A localized message describing the reason for the failure.
Declaration
Swift
public var failureReason: String? { get }