# `Surface.AST.Error`
[🔗](https://github.com/surface-ui/surface/blob/v0.12.3/lib/surface/ast.ex#L447)

An AST node representing an error. This will be rendered as an html element.

## Properties
    * `:message` - the error message
    * `:meta` - compilation meta data
    * `:attributes` - the specified attributes
    * `:directives` - directives associated with this error node

# `t`
[🔗](https://github.com/surface-ui/surface/blob/v0.12.3/lib/surface/ast.ex#L459)

```elixir
@type t() :: %Surface.AST.Error{
  attributes: [Surface.AST.Attribute.t()],
  directives: [Surface.AST.Directive.t()],
  message: binary(),
  meta: Surface.AST.Meta.t()
}
```

---

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