Correct way to report errors.