Before asking AI to fix an error, read the message yourself. Error messages contain:
- The error type (syntax, runtime, type error)
- The file and line number where it occurred
- A stack trace showing how execution got there
- Often a hint about what's wrong
Understanding the error helps you give AI better context. "Fix this error" is vague. "This fails on line with a null reference" is actionable.