Documentation
¶
Overview ¶
Package diag exposes error types used throughout converter and a method to pretty-print them to the screen.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Diagnostic ¶
type Diagnostic struct {
// Severity holds the severity level of this Diagnostic.
Severity Severity
Message string
}
Diagnostic is an individual diagnostic message. Diagnostic messages can have different levels of severities.
type Diagnostics ¶
type Diagnostics []Diagnostic
Diagnostics is a collection of diagnostic messages.
Click to show internal directories.
Click to hide internal directories.