MCPcopy
hub / github.com/MadAppGang/dingo / ErrorFormatter

Interface ErrorFormatter

pkg/lsp/error_formatter.go:12–14  ·  view source on GitHub ↗

ErrorFormatter formats transpile errors for specific editor types. Each editor has different capabilities for rendering error messages.

Source from the content-addressed store, hash-verified

10// ErrorFormatter formats transpile errors for specific editor types.
11// Each editor has different capabilities for rendering error messages.
12type ErrorFormatter interface {
13 Format(err *transpiler.TranspileError) string
14}
15
16// =============================================================================
17// SimpleFormatter - Single-line messages for unknown editors

Callers 8

ParseTranspileErrorFunction · 0.65
handleFormattingMethod · 0.65
TestEnhancedErrorSpanFunction · 0.65
InstallBinaryFunction · 0.65
renderHeaderMethod · 0.65
formatEventMethod · 0.65
TestFormatterBasicFunction · 0.65

Implementers 8

SimpleFormatterpkg/lsp/error_formatter.go
MultilineFormatterpkg/lsp/error_formatter.go
JetBrainsFormatterpkg/lsp/error_formatter.go
EnhancedErrorpkg/errors/enhanced.go
Formatterpkg/format/formatter.go
LambdaFormatterpkg/format/rules/lambda.go
MatchFormatterpkg/format/rules/match.go
EnumFormatterpkg/format/rules/enum.go

Calls

no outgoing calls

Tested by

no test coverage detected