# `Deputy.Error.APIError`
[🔗](https://github.com/sgerrand/ex_deputy/blob/v0.4.0/lib/deputy/error.ex#L16)

Represents an error returned by the Deputy API.

# `t`

```elixir
@type t() :: %Deputy.Error.APIError{
  __exception__: true,
  code: String.t() | nil,
  details: map() | nil,
  message: String.t(),
  status: integer()
}
```

---

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