UserConsentError

public enum UserConsentError : Error

Enum to handle errors in UserConsentStep

    • cancelled: thrown when user cancelled the user consent screen

    Declaration

    Swift

    case cancelled
    • rejected: thrown when user rejected a mandatory UserConsent form or cancelled the onboarding process

    Declaration

    Swift

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