MCPcopy Create free account
hub / github.com/openclaw/gogcli / sheetsValidationPlannerError

Function sheetsValidationPlannerError

internal/cmd/sheets_validation.go:361–367  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

359type a1Range = sheetsa1.Range
360
361func sheetsValidationPlannerError(err error) error {
362 var validationErr sheetsvalidation.ValidationError
363 if errors.As(err, &validationErr) {
364 return usage(validationErr.Error())
365 }
366 return err
367}
368
369func fetchTableValidationSpans(ctx context.Context, svc *sheets.Service, spreadsheetID string) ([]tableValidationSpan, error) {
370 resp, err := svc.Spreadsheets.Get(spreadsheetID).

Callers 4

RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
copyDataValidationFunction · 0.85

Calls 2

ErrorMethod · 0.95
usageFunction · 0.85

Tested by

no test coverage detected