commonMain.CarolineCrash.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of caroline-sdk-crash Show documentation
Show all versions of caroline-sdk-crash Show documentation
Privacy respecting backend services with multiplatform Kotlin SDKs.
The newest version!
package cloud.caroline.crash
public interface CarolineCrash {
/**
* Set a default [key] [value] pair that will be
* delivered with every [report].
*/
public fun setProperty(key: String, value: String)
/**
* Remove the property with [key] or no-op.
*/
public fun removeProperty(key: String)
/**
* Report the [throwable] and any [attributes] to
* the server.
*/
public fun report(
throwable: Throwable,
attributes: Map = emptyMap()
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy