At some point you may create a script that causes an error message to appear in the History Log of the Script Editor. Some of the error messages are self-explanatory, but others may cover several possible scenarios.
To help you unravel the mystery of these error messages, here is a small sample of error messages, what they may mean, and how to fix your script.