task: aphoria-error-mapping
created: 2026-02-06
phase: COMPLETE
before_count: 46
current_count: 1
description: |
  Inconsistent .map_err() patterns across Aphoria:
  - Pattern A (context-aware): 55 instances (keep as standard)
  - Pattern B (to_string): 35 instances (replace with A)
  - Pattern C (bare format): 11 instances (replace with A)
  - Pattern D (custom logic): 43 instances (keep for structured errors)

  Total to fix: 46 (35 B + 11 C)

current: "COMPLETE"
next: []
