# `ExFPE.InputError`
[🔗](https://github.com/g-andrade/ex_fpe/blob/v0.1.0/lib/ex_fpe/exceptions.ex#L119)

Raised by `ExFPE.encrypt!/3` and `ExFPE.decrypt!/3` when the tweak or the input
numerical string is invalid.

The structured `:reason` is the same term `ExFPE.encrypt/3` / `ExFPE.decrypt/3`
would return under `{:error, reason}`.

# `t`

```elixir
@type t() :: %ExFPE.InputError{__exception__: term(), reason: term()}
```

---

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