# `Rupa.DecodeError`
[🔗](https://github.com/zero-one-group/rupa/blob/v0.1.0/lib/rupa/decode_error.ex#L1)

Raised by `Rupa.decode!/3` when the data does not match the schema.

Carries every error the decode produced — one, under the default `on_error: :halt`.

# `t`

```elixir
@type t() :: %Rupa.DecodeError{__exception__: term(), errors: [Rupa.Error.t()]}
```

---

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