AppmetricaError

public enum AppmetricaError : Error, LocalizedError

An enumeration that defines two custom error cases that can be thrown during runtime.

  • This case is used if AppMetrica returns nil AMAReporting. This can happen due to an invalid API key.

    Declaration

    Swift

    case nilReporter(apiKey: String)
  • This case is used when a method isn’t implemented in AppMetrica. Update AppMetrica to fix that.

    Declaration

    Swift

    case notImplemented(method: String)
  • Declaration

    Swift

    public var errorDescription: String? { get }