Executes a "user-specified" error, causing a program to behave exactly as if a normal error had occurred during program execution.