Patterns

Good input/output pattern

  • Input: clear params
  • Output: deterministic schema

Error handling pattern

  • Return explicit error reason and next action