Surface.AST.Error (surface v0.7.0) View Source

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

Properties

* `:message` - the error message
* `:meta` - compilation meta data
* `:directives` - directives associated with this error node

Link to this section Summary

Link to this section Types

Specs

t() :: %Surface.AST.Error{
  directives: [Surface.AST.Directive.t()],
  message: binary(),
  meta: Surface.AST.Meta.t()
}