# `Accrue.CardError`
[🔗](https://github.com/szTheory/accrue/blob/accrue-v1.0.0/lib/accrue/errors.ex#L19)

Raised when the processor rejects a card (declined, expired, insufficient
funds, etc.). Mirrors Stripe's card-error shape 1:1.

> ⚠️ `processor_error` may contain raw processor payload and MUST NOT be
> logged verbatim — treat it as sensitive and scrub before logging.

# `t`

```elixir
@type t() :: %Accrue.CardError{
  __exception__: true,
  code: term(),
  decline_code: term(),
  http_status: term(),
  message: term(),
  param: term(),
  processor_error: term(),
  request_id: term()
}
```

---

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