larksuite/cli · error
schema minimum: %w
Error message
schema minimum: %w
What it means
Schema tag guard: the minimum value could not be parsed as a finite float (wraps parseFiniteFloat error).
Source
Thrown at shortcuts/common/typed_compile_args.go:469
return result, fmt.Errorf("schema format requires a name")
}
result.format = value
case "minLength":
v, err := parseNonnegativeInt(value)
if err != nil {
return result, fmt.Errorf("schema minLength: %w", err)
}
result.minLength = &v
case "maxLength":
v, err := parseNonnegativeInt(value)
if err != nil {
return result, fmt.Errorf("schema maxLength: %w", err)
}
result.maxLength = &v
case "minimum":
v, err := parseFiniteFloat(value)
if err != nil {
return result, fmt.Errorf("schema minimum: %w", err)
}
result.minimum = &v
case "maximum":
v, err := parseFiniteFloat(value)
if err != nil {
return result, fmt.Errorf("schema maximum: %w", err)
}
result.maximum = &v
case "minItems":
v, err := parseNonnegativeInt(value)
if err != nil {
return result, fmt.Errorf("schema minItems: %w", err)
}
result.minItems = &v
case "maxItems":
v, err := parseNonnegativeInt(value)
if err != nil {
return result, fmt.Errorf("schema maxItems: %w", err)View on GitHub (pinned to 7fd6ef3c07)
Solutions
- Use a finite numeric literal for minimum
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at shortcuts/common/typed_compile_args.go:469 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of larksuite/cli@7fd6ef3c07 (2026-09-04).
Data as JSON: /api/errors/d81b0780e844a6fa.
Report an issue: GitHub.