hasErrors実装

Change-Id: Ia07596f1fddcab3ef91679692c8cf1ab43dce3d1