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

Method Format

pkg/lsp/error_formatter.go:13–13  ·  view source on GitHub ↗
(err *transpiler.TranspileError)

Source from the content-addressed store, hash-verified

11// Each editor has different capabilities for rendering error messages.
12type ErrorFormatter interface {
13 Format(err *transpiler.TranspileError) string
14}
15
16// =============================================================================

Callers 15

ParseTranspileErrorFunction · 0.65
handleFormattingMethod · 0.65
TestEnhancedErrorSpanFunction · 0.65
InstallBinaryFunction · 0.65
renderHeaderMethod · 0.65
formatEventMethod · 0.65
TestFormatterBasicFunction · 0.65
TestMatchFormattingFunction · 0.65
TestEnumFormattingFunction · 0.65
TestLambdaFormattingFunction · 0.65
TestErrorPropagationFunction · 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 8

TestEnhancedErrorSpanFunction · 0.52
TestFormatterBasicFunction · 0.52
TestMatchFormattingFunction · 0.52
TestEnumFormattingFunction · 0.52
TestLambdaFormattingFunction · 0.52
TestErrorPropagationFunction · 0.52
TestSafeNavigationFunction · 0.52