# `Daraja.C2B.Response.Error`
[🔗](https://github.com/okothkongo/daraja/blob/v0.1.1/lib/daraja/c2b/response.ex#L24)

Returned when Safaricom rejects a C2B request.

# `t`

```elixir
@type t() :: %Daraja.C2B.Response.Error{
  error_code: String.t(),
  error_message: String.t(),
  request_id: String.t()
}
```

---

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