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

The data structure returned by `JSV.validate/3` when validation fails.

# `t`

```elixir
@type t() :: %JSV.ValidationError{
  __exception__: true,
  errors: [JSV.Validator.Error.t()]
}
```

# `of`

```elixir
@spec of([JSV.Validator.Error.t()]) :: t()
```

Wraps the given `JSV.Validator.Error` list into an `JSV.ValidationError`
exception.

---

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