LoadError

public enum LoadError : LocalizedError, Equatable

Enum representing an error when trying to load an ad.

  • There was an error when trying to retrieve the placement’s waterfall configuration.

    Declaration

    Swift

    case requestFailed
  • None of the waterfall instances managed to load an ad successfully.

    Declaration

    Swift

    case noFill
  • This ad instance has already been used.

    Interstitial and Rewarded ads can only be used once. Create a new ad instance if you want to load a new one.

    Declaration

    Swift

    case alreadyUsed
  • Unexpected error.

    Declaration

    Swift

    case unexpected
  • Integer representation of the LoadError enum cases

    Declaration

    Swift

    public var errorCode: Int { get }
  • Declaration

    Swift

    public var errorDescription: String? { get }