com.avito.report.model.IncidentElement.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of report-api Show documentation
Show all versions of report-api Show documentation
Collection of infrastructure libraries and gradle plugins of Avito Android project
package com.avito.report.model
import com.google.gson.JsonElement
/**
* Atomic error for Incident.chain
*
* @param message human-readable message for report
* @param code http code for example
* @param type determines how to display data (no info atm)
*
* todo extract to public api module (used in avito build scripts)
*/
public data class IncidentElement(
val message: String,
val code: Int? = null,
val type: String? = null,
val origin: String? = null,
val className: String? = null,
val data: JsonElement? = null
)