sendParseError sends an error message to the client when notification parsing fails
(method string, err error)
| 418 | |
| 419 | // sendParseError sends an error message to the client when notification parsing fails |
| 420 | func (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 |
| 428 | var ( |
no test coverage detected