HTX Guide · 1.5.0-alpha.2

Diagnostic codes

HTX001–HTX014 error codes and what they mean.

HTX 1.5.0-alpha.2 (reference implementation 0.3.0-alpha.3) — Features below are available in the htx CLI unless noted as browser-only.

HTX diagnostics are stable identifiers emitted by the reference parser and transforms. Message strings are normative for conformance — see the specification.

Code Severity Meaning
HTX001 Error Unmatched :: close
HTX002 Error Unclosed block at EOF
HTX003 Error Accidental ::: fence
HTX004 Error Malformed attributes
HTX005 Error Duplicate #id
HTX006 Error Invalid frontmatter YAML
HTX007 Error Inline nesting depth exceeded
HTX008 Warning* Unregistered custom tag
HTX009 Error Unknown attribute on registered tag
HTX010 Error Unresolved (@id) reference
HTX011 Warning Reference to untrusted symbol
HTX012 Error Circular reference
HTX013 Error Missing type on ::data
HTX014 Error Unknown component slot

* HTX008 becomes an error when strict registry mode is enabled.

Streaming mode

HTX002W is a warning when streaming parse mode auto-closes an open block at end-of-file (--streaming).