use one error method