SDKError

public enum SDKError : String, Error, LocalizedError

Errors that may be produced by core SDK functionality, e.g. licensing checks.

  • Error thrown by SDK methods, when configured with invalid or missing license details.

    Declaration

    Swift

    case badAccountConfig = "Configured with invalid or missing license details"
  • Error thrown by SDK methods, when configured to require customer-provided UserID, but moderation is attempted before the UserID is set.

    Declaration

    Swift

    case missingUserID = "License mode requires customer UserID, none provided."
  • Error thrown by SDK methods, when license checks have failed. Contact us to verify your billing is set up correctly and not overdue.

    Declaration

    Swift

    case notLicensed = "This account is not licensed"
  • Error thrown by SDK methods when the licensing server cannot be reached and the grace period has expired.

    Declaration

    Swift

    case cannotReachServer = "Cannot reach licensing server"
  • Declaration

    Swift

    public var errorDescription: String? { get }