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

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

properties

Properties

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

Link to this section Summary

Link to this section Types

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