Generating errors only once.