# `BeamPatch.CompileError`
[🔗](https://github.com/kzemek/beam_patch/blob/main/lib/beam_patch/error.ex#L123)

An error that is raised when a quoted or forms compilation fails.

## Fields
- `:errors` ([`t:String.t/0`]) - The errors that occurred during compilation.
- `:stage` (`:quoted | :forms`) - The stage of compilation that failed.

# `t`
[🔗](https://github.com/kzemek/beam_patch/blob/main/lib/beam_patch/error.ex#L133)

```elixir
@type t() :: %BeamPatch.CompileError{
  __exception__: true,
  errors: [String.t()],
  stage: :quoted | :forms
}
```

---

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