VendorAdException

class VendorAdException(message: String, val vendorCode: String) : Exception

An ad playback error that carries the ad vendor's own error code (e.g. the numeric IMA/VAST AdError code), so telemetry can report it (adevc) alongside the SDK's taxonomy code. Vendor integrations wrap their errors in this type when the vendor supplies a code; errors without one stay plain exceptions.

The Kotlin mirror of packages/core/src/types/VendorAdError.ts.

Constructors

Link copied to clipboard
constructor(message: String, vendorCode: String)

Properties

Link copied to clipboard

The vendor's error code, stringified (e.g. IMA's numeric AdError code).