Automation · Automation Documentation
Error Messages
Cheat sheet · https://pcornel.dk/topic.php?topic=6042
Answer
Documented error messages explain what each error means and what to do, and good automation writes errors that name the failed step, the target and the likely cause.
Remember
- Say which step and target failed.
- Give the likely cause and next action.
- Avoid leaking secrets in errors.
First checks
- Error message catalogue (message → meaning → fix) — troubleshooting
- Actionable error texts in code — quality
- Links to docs in errors — help
Verify in this order
error → message → documented fix
Where it usually breaks
Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6042