commandRetryCountResultCheck static method

void commandRetryCountResultCheck(
  1. List<int> result
)

Implementation

static void commandRetryCountResultCheck(List<int> result) {
  if (result.first == MynumberCommand.retryResultSuccess) return;
  throw MynumberException(MynumberCommandError.UNEXPECTED_COMMAND);
}