All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.avito.report.model.Incident.kt Maven / Gradle / Ivy

Go to download

Collection of infrastructure libraries and gradle plugins of Avito Android project

There is a newer version: 2023.22
Show newest version
package com.avito.report.model

public data class Incident(
    val type: Type,
    val timestamp: Long,
    val trace: List,
    val chain: List,
    val entryList: List
) {

    public val errorMessage: String = chain.firstOrNull()?.message ?: "Unknown"

    public enum class Type {

        /**
         * abnormal test execution
         */
        INFRASTRUCTURE_ERROR,

        /**
         * assertions not being fulfilled
         */
        ASSERTION_FAILED
    }

    // for test fixtures
    public companion object
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy