UsageUserConsentError

public enum UsageUserConsentError : Error

Enum to handle errors in UserConsentStep

    • cancelled: thrown when user cancelled the usaqge user consent screen

    Declaration

    Swift

    case cancelled
    • missing: thrown when there is no UsageUserConsent 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 }