sendErrorData
abstract fun sendErrorData(error: JsError, data: ReadonlyRecord<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