_getIterableProperty(transaction, errorType) {
    let iterableProperty = null
    if (errorType === 'user') {
      iterableProperty = transaction.userErrors
    }
    if (errorType === 'transactionException') {
      iterableProperty = transaction.exceptions
    }
    return iterableProperty
  }
Gets the iterable property from the transaction based on the error type

@param {Transaction} transaction the collected exception's transaction
@param {string} errorType the type of error: "user", "transactionException", "transaction"
@returns {object[]} the iterable property from the transaction based on the error type