Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Diagnostic ¶
type Diagnostic struct {
Code string
Message string
Position Position
// contains filtered or unexported fields
}
func (Diagnostic) Error ¶
func (d Diagnostic) Error() string
func (Diagnostic) Stack ¶
func (d Diagnostic) Stack() string
type DiagnosticCode ¶
func (DiagnosticCode) Is ¶
func (d DiagnosticCode) Is(err error) bool
func (DiagnosticCode) New ¶
func (d DiagnosticCode) New(pos Position, args ...any) Diagnostic
Click to show internal directories.
Click to hide internal directories.