# `PostHog.Error`
[🔗](https://github.com/posthog/posthog-elixir/blob/v2.18.0/lib/posthog/error.ex#L1)

Generic PostHog SDK error.

## Fields

- `:message` - human-readable error message.

# `t`

```elixir
@type t() :: %PostHog.Error{__exception__: true, message: String.t()}
```

Exception raised for SDK errors that are not tied to an HTTP response.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
