ifCollectionEmpty

open fun ifCollectionEmpty(collection: Collection<out Any>, errorMsg: String)

集合为空则抛出异常