Skip to main content

Module diagnostic

Module diagnostic 

Source
Expand description

Core diagnostic message types.

This module defines the fundamental structures for representing diagnostic messages (errors, warnings, info) following tidyverse-style guidelines.

Structs§

DetailItem
A detail item in a diagnostic message.
DiagnosticMessage
A diagnostic message following tidyverse-style structure.
TextRenderOptions
Options for rendering diagnostic messages to text.

Enums§

DetailKind
How detail items should be presented (tidyverse x/i bullet style).
DiagnosticKind
The kind of diagnostic message.
MessageContent
The content of a message or detail item.
SourceRenderer
Selects which source-context snippet renderer draws the visual code excerpt in DiagnosticMessage::to_text_with_renderer.