# `JSV.BuildError`
[🔗](https://github.com/lud/jsv/blob/v0.18.3/lib/jsv/build_error.ex#L1)

A simple wrapper for errors returned from `JSV.build/2`.

# `of`

```elixir
@spec of(term(), term(), build_path :: nil | String.t()) :: Exception.t()
```

Wraps the given term as the `reason` in a `JSV.BuildError` struct.

The `action` should be a `{module, function, [arg1, arg2, ..., argN]}` tuple or
a mfa tuple whenever possible.

---

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