RuntimeMessage
laika.ast.RuntimeMessage
case class RuntimeMessage(level: MessageLevel, content: String, options: Options) extends Span with Block with TextContainer
Message generated by the parser, a directive or a rewrite rule.
They usually get inserted immediately after the block or span that caused the problem. It mixes in both the Span and Block trait so that it can appear in sequences of both types. By default messages are ignored by most renderers (apart from AST), but they can be explicitly activated for a particular level.
A message of level MessageLevel.Error
will cause a transformation to fail, unless
the user has configured with the renderErrors
method to debug in a visual mode
in which case the errors will get rendered in-place in the output.
Attributes
- Graph
- Supertypes
- trait TextContainertrait Container[String]trait Blocktrait Spanclass Elementtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any