Which of the following types of errors halts the execution of a script and cannot be trapped?
Fatal error
Correct:
Fatal error
Explanation:
A fatal error is one that halts the execution of a script and cannot be trapped.
Answer option B is incorrect. A warning is a recoverable error that indicates a run-time fault, but it does not halt the execution of the script.
Answer option C is incorrect. A notice is an indication that an error condition has occurred, but it is not necessarily significant. It does not halt the execution of the script.
Answer option D is incorrect. A compile-time error is detected by the parser while it is compiling a script.