Home

Compilation Message

This is a type used in Stencila Schema for messages produced during compilation.

It exists to capture structured diagnostics from compilation-like steps such as parsing, transpilation, prompt rendering, or overlay expansion. By storing messages as nodes, Stencila can preserve them across tools, renderers, and execution sessions.

Key properties typically include message level, text, and optional source-location information.

Properties

The CompilationMessage type has these properties:

NameDescriptionTypeInherited from
levelThe severity level of the message.MessageLevel-
messageThe text of the message.String-
errorTypeThe type of error e.g. "SyntaxError", "ZeroDivisionError".String-
codeLocationThe location that the error occurred.CodeLocation-
idThe identifier for this item.StringEntity

Related

The CompilationMessage type is related to these types:

Bindings

The CompilationMessage type is represented in:


This documentation was generated from CompilationMessage.yaml by docs_types.rs.

© 2026 Stencila