Captures an exception Docs https://posthog.com/docs/error-tracking
the exception to capture
the distinctId
the exception properties to add to the event