# `Ratex.Error`
[🔗](https://github.com/akoutmos/ratex/blob/master/lib/ratex/error.ex#L1)

Structured error type for Ratex compiler errors.

## Error Types

  - `:option_error` - The provided options for a given function were malformed

# `error_type`

```elixir
@type error_type() :: :option_error
```

# `t`

```elixir
@type t() :: %Ratex.Error{
  __exception__: true,
  message: String.t(),
  type: error_type()
}
```

---

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