PostHog.UnexpectedResponseError exception (posthog v2.9.0)

View Source

PostHog error that includes a response from the API, either full or partial.

Fields

  • :message - human-readable error message.
  • :response - API response data that caused the error.

Summary

Types

t()

Exception raised when PostHog returns a response the SDK cannot handle.

Types

t()

@type t() :: %PostHog.UnexpectedResponseError{
  __exception__: true,
  message: String.t(),
  response: any()
}

Exception raised when PostHog returns a response the SDK cannot handle.