# `Vaartix.Error`
[🔗](https://github.com/vaartix-mail/vaartix-elixir/blob/v0.1.0/lib/vaartix/error.ex#L1)

The API answered with an error, or the request could not be made. `type` is the API's error type
(e.g. `"validation_error"`), or `"network_error"` with `status: nil` when no response was received.

# `t`

```elixir
@type t() :: %Vaartix.Error{
  __exception__: true,
  message: String.t(),
  status: pos_integer() | nil,
  type: String.t()
}
```

---

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