sendErrorData

abstract fun sendErrorData(error: JsError, data: Record<JsString, *> = definedExternally)(source)

Function to send an error. Used within a TelemetryLogger

Parameters

error

The error being logged

data

Any additional data to be collected with the exception

Online Documentation