MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / sendParseError

Method sendParseError

pkg/lsp/handler.go:420–425  ·  view source on GitHub ↗

sendParseError sends an error message to the client when notification parsing fails

(method string, err error)

Source from the content-addressed store, hash-verified

418
419// sendParseError sends an error message to the client when notification parsing fails
420func (h *Handler) sendParseError(method string, err error) {
421 h.server.SendNotification("window/showMessage", ShowMessageParams{
422 Type: MessageWarning,
423 Message: fmt.Sprintf("GoSQLX LSP: Failed to process %s notification: %v", method, err),
424 })
425}
426
427// Position extraction patterns for GoSQLX error messages
428var (

Callers 4

handleDidOpenMethod · 0.95
handleDidChangeMethod · 0.95
handleDidCloseMethod · 0.95
handleDidSaveMethod · 0.95

Calls 1

SendNotificationMethod · 0.80

Tested by

no test coverage detected