Skip to content

Report frontmatter could not be serialized to YAML

Type URI: https://modeled-information-format.github.io/mif-rs/references/errors/frontmatter-yaml-serialize-failure/v1 HTTP status: 500 Exit code: 1 Emitted by: mif-rh (MifRhError::FrontmatterYamlSerialize)

failed to serialize report frontmatter as YAML: {source}

This fires when a rendered artifact’s MIF concept frontmatter cannot be serialized to YAML. It indicates a bug in the concept’s Serialize implementation — for example a non-finite float — rather than anything a caller can fix by changing its input.

Unspecified — this indicates a bug in mif-rh: a report’s concept frontmatter could not be serialized to YAML. Report it upstream with the artifact that triggered it; no caller-side fix exists.