Compilation Message
An error, warning or log message generated during compilation.
Properties
The CompilationMessage
type has these properties:
Name | Description | Type | Inherited from | JSON-LD @id |
Aliases |
---|---|---|---|---|---|
id |
The identifier for this item. | String |
Entity |
schema:id |
- |
level |
The severity level of the message. | MessageLevel |
- | stencila:level |
- |
message |
The text of the message. | String |
- | stencila:message |
- |
errorType |
The type of error e.g. "SyntaxError", "ZeroDivisionError". | String |
- | stencila:errorType |
error-type , error_type |
codeLocation |
The location that the error occurred. | CodeLocation |
- | stencila:codeLocation |
code-location , code_location |
Related
The CompilationMessage
type is related to these types:
- Parents:
Entity
- Children: none
Formats
The CompilationMessage
type can be encoded (serialized) to, and/or decoded (deserialized) from, these formats:
Format | Encoding | Decoding | Support | Notes |
---|---|---|---|---|
DOM HTML | 🟢 No loss | |||
HTML | 🔷 Low loss | |||
JATS | ||||
Markdown | ⚠️ High loss | |||
Stencila Markdown | ⚠️ High loss | |||
Quarto Markdown | ⚠️ High loss | |||
MyST Markdown | ⚠️ High loss | |||
LLM Markdown | ⚠️ High loss | |||
LaTeX | 🔷 Low loss | 🔷 Low loss | ||
🔷 Low loss | ||||
Plain text | ⚠️ High loss | |||
IPYNB | 🔷 Low loss | 🔷 Low loss | ||
Microsoft Word DOCX | 🔷 Low loss | 🔷 Low loss | ||
OpenDocument ODT | 🔷 Low loss | 🔷 Low loss | ||
TeX | 🔷 Low loss | 🔷 Low loss | ||
JSON | 🟢 No loss | 🟢 No loss | ||
JSON+Zip | 🟢 No loss | 🟢 No loss | ||
JSON5 | 🟢 No loss | 🟢 No loss | ||
JSON-LD | 🟢 No loss | 🟢 No loss | ||
CBOR | 🟢 No loss | 🟢 No loss | ||
CBOR+Zstandard | 🟢 No loss | 🟢 No loss | ||
YAML | 🟢 No loss | 🟢 No loss | ||
Lexical JSON | 🔷 Low loss | 🔷 Low loss | ||
Koenig JSON | 🔷 Low loss | 🔷 Low loss | ||
Pandoc AST | 🔷 Low loss | 🔷 Low loss | ||
Directory | ||||
Stencila Web Bundle | ||||
Debug | 🔷 Low loss |
Bindings
The CompilationMessage
type is represented in:
- JSON-LD
- JSON Schema
- Python class
CompilationMessage
- Rust struct
CompilationMessage
- TypeScript class
CompilationMessage
Source
This documentation was generated from CompilationMessage.yaml
by docs_types.rs
.