When testing an automated environmental monitoring script, an engineer receives the following console traceback message from their IDE:
Draw on this
Identify the type of error shown and explain how this error occurred in the execution of the program.