# `SmsGora.Error`
[🔗](https://github.com/TekservixHQ/smsgora-elixir/blob/v1.0.0/lib/smsgora.ex#L17)

Returned when the API answers with an error, or the request fails.

`status` is the HTTP status (0 when the request never reached the API) and
`retry_after` is the number of seconds to wait after a 429.

# `t`

```elixir
@type t() :: %SmsGora.Error{
  __exception__: true,
  body: term(),
  errors: map() | nil,
  message: String.t(),
  retry_after: number() | nil,
  status: non_neg_integer()
}
```

---

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