Promptles
Debugging & Error Handling

Error Message

beginner

Definition

The text a program outputs when something goes wrong. Error messages usually include what failed, where it failed, and sometimes why. Sharing the exact error message, not a summary of it, is the fastest way to get useful help.

In the wild

'ReferenceError: config is not defined at loadSettings (config.js:8)' tells you exactly what's wrong (config doesn't exist), where (config.js line 8), and the error type (ReferenceError). Copy-pasting this into a prompt gives Claude everything it needs.

More from Debugging & Error Handling