Module error

Module error 

Source
Expand description

Non-fatal error reporting from normalization parsers.

Parsers in super::parsers never Result-fail at the trait level — a malformed dialect fragment is data, not an infrastructure problem. Instead, parsers attach a NormalizationError to their super::parser::ParserOutput, and the surrounding stream wrapper surfaces those errors as LlmStreamEvent::NormalizationError events.

Consumers are free to log, surface, or suppress these events. The proxy drops them on the wire (V1 contract); in-process consumers (Axum/Tauri) receive them for diagnostics.

Structs§

NormalizationError
A non-fatal normalization issue surfaced from a parser.

Enums§

NormalizationErrorKind
Discriminates the kind of malformation a parser detected.