Vibecoding 6: the four parts of an error
An error message split into its four parts, in the order you read them, and where to start reading. Lesson 6 of the vibecoding course.
What to do with an error
- Read the message whole
- Open the file at the line
- Read from one line above
- Fix one thing and run again
| Part | What it tells you |
|---|---|
| Kind | the family of the problem, such as a syntax error |
| Message | what the program says went wrong, in its own words |
| File | which file to open |
| Line | where it was noticed; the cause can sit just above |
The example parts are generic wording, not output of a run; paste your own whole message to your agent.