Skip to main content

Module error

Module error 

Source
Expand description

The local CSL style parse error type, CslParseError.

Like mos-bib’s BibParseError, parse_style returns this small local error, but it bridges into the standard mos-core diagnostics surface rather than forming a parallel pipeline: CslParseError::to_diagnostic and From<CslParseError> for CoreError map it onto the MOS0044 code, carrying the byte offset as a span.

Structs§

CslParseError
A recoverable CSL parse error: a CslParseErrorKind plus the byte offset into the original input where the problem was detected.

Enums§

CslParseErrorKind
What went wrong while parsing a CSL style. Paired with a byte offset inside a CslParseError.