Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.settings.modules/TraceSettingsBuilder/setTrackErrors

setTrackErrors

fun setTrackErrors(enabled: Boolean): TraceSettingsBuilder

Sets whether or not errors should be tracked during a Trace session.

When enabled, the Trace module will automatically capture and send error events that occur while a trace session is active. This is useful for debugging and monitoring application errors in conjunction with trace data.

Error events are sent as separate dispatches with the event name "tealium_error" and include an "error_description" field containing the error details.

The default setting is false

Parameters

enabled

true if errors should be tracked automatically during trace session; else false

Generated by Dokka
(c) Tealium 2026