alertIfException method

bool alertIfException()

실패 응답이면 알림을 요청하고 실패 여부를 반환한다.

Implementation

bool alertIfException() {
  if (hasException) {
    alert();
  }

  return hasException;
}