capture Exception
abstract fun captureException(exception: Throwable, distinctId: String? = null, properties: Map<String, Any>? = null)
Captures an exception Docs https://posthog.com/docs/error-tracking
Parameters
exception
the exception to capture
distinct Id
the distinctId
properties
the exception properties to add to the event
Captures an exception Docs https://posthog.com/docs/error-tracking
Parameters
exception
the exception to capture
properties
the exception properties to add to the event
distinct Id
the distinctId