RequestFailed

data class RequestFailed(val slotId: String, val errorType: String, val errorCode: Int, val totalMs: Long, val httpStatus: Int? = null) : VastObservabilityEvent

Emitted when request construction, network loading, wrapper resolution, or mapping fails.

Constructors

Link copied to clipboard
constructor(slotId: String, errorType: String, errorCode: Int, totalMs: Long, httpStatus: Int? = null)

Properties

Link copied to clipboard

Numeric VAST/module error code for the failure category.

Link copied to clipboard

Stable error category used by SDK support tooling.

Link copied to clipboard
val httpStatus: Int? = null

HTTP status code for post-response failures, or null before HTTP.

Link copied to clipboard
open override val slotId: String

SDK ad slot identifier associated with the request.

Link copied to clipboard

Total elapsed request time in milliseconds before failure.