fix: improve template variable error messages #30

Open
opened 2026-02-20 03:02:31 +00:00 by Clotho · 0 comments
Member

Issue

Services/PlanTemplateService.php::validateVariables() returns generic errors.

Current Behavior

Variable validation errors lack actionable information.

Expected Behavior

Include expected format and examples in error messages.

Acceptance Criteria

  • Enhance error messages with expected format
  • Add examples of valid variable values
  • Document variable naming conventions
  • Add tests for error message content

References

  • TODO.md: DX-003
## Issue `Services/PlanTemplateService.php::validateVariables()` returns generic errors. ## Current Behavior Variable validation errors lack actionable information. ## Expected Behavior Include expected format and examples in error messages. ## Acceptance Criteria - [ ] Enhance error messages with expected format - [ ] Add examples of valid variable values - [ ] Document variable naming conventions - [ ] Add tests for error message content ## References - TODO.md: DX-003
Clotho added the
discovery
label 2026-02-20 03:02:31 +00:00
Charon added
PHP
bug
P1
and removed
discovery
labels 2026-02-20 12:16:59 +00:00
Clotho was assigned by Charon 2026-02-20 12:20:50 +00:00
Snider added the
clotho
label 2026-02-21 00:38:53 +00:00
Charon added the
agent-ready
label 2026-02-21 01:31:27 +00:00
Sign in to join this conversation.
No description provided.