recordException

actual fun recordException(exception: Throwable)(source)
actual fun recordException(exception: Throwable, customKeys: Map<String, Any>)(source)
actual fun recordException(exception: Throwable)(source)
actual fun recordException(exception: Throwable, customKeys: Map<String, Any>)(source)
expect fun recordException(exception: Throwable)(source)

Records a non-fatal report to send to Crashlytics.

Parameters

exception

a Throwable to be recorded as a non-fatal event.


expect fun recordException(exception: Throwable, customKeys: Map<String, Any>)(source)

Records a non-fatal report to send to Crashlytics.

Combined with app level custom keys, the event is restricted to a maximum of 64 key/value pairs. New keys beyond that limit are ignored. Keys or values that exceed 1024 characters are truncated.

The values of event keys override the values of app level custom keys if they're identical.

Parameters

exception

a Throwable to be recorded as a non-fatal event.

customKeys

A dictionary of keys and the values to associate with the non fatal exception, in addition to the app level custom keys.