script_error is only for immediately after a Lua error has occured.